Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.4 KB

README.md

File metadata and controls

56 lines (44 loc) · 1.4 KB

EcoSync by DEFINE CODERS

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.

Project Structure

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

RUNNING THE PROJECT LOCALLY

  1. Clone the repository:
git clone https://github.com/definecoder/CS24-p2-define-coders.git
  1. Run frontend using:
cd .\client\
npm i
npm run dev
  1. Open a new terminal in the project root directory and Run the backend using:
cd .\server\
npm i
npm run dev

Credentials set by the initial db migration

{
  "SYSTEM_ADMIN": {
    "email": "admin@admin",
    "password": "admin"
  },
  "LAND_MANAGER": {
    "email": "codermehraj@gmail.com",
    "password": "admin"
  },
  "STS_MANAGER": {
    "email": "shafinnafiullah@gmail.com",
    "password": "admin"
  }
}

License

MIT