EcoSync is a full-stack application built with Next.js, Express.js, Prisma, and PostgreSQL. This was developed by the team to define codes for CODE SAMURAI 2024. This project handles waste collection and management for Dhaka North City Corporation.
The project is divided into two main directories:
/client
- Contains the Next.js frontend application./server
- Contains the Express.js backend server, which uses Prisma for ORM and PostgreSQL as the database./waste_management
- Contains the mobile app for the customers and employers
- Clone the repository:
git clone https://github.com/definecoder/CS24-p2-define-coders.git
- Run frontend using:
cd .\client\
npm i
npm run dev
- Open a new terminal in the project root directory and Run the backend using:
cd .\server\
npm i
npm run dev
{
"SYSTEM_ADMIN": {
"email": "admin@admin",
"password": "admin"
},
"LAND_MANAGER": {
"email": "[email protected]",
"password": "admin"
},
"STS_MANAGER": {
"email": "[email protected]",
"password": "admin"
}
}