Follow these steps to set up and run the project:
-
Clone the repository:
git clone repo_url kpi-dashboard-express cd kpi-dashboard-express
-
Copy the contents of the env-example file into a new .env file to configure your environment variables:
MONGODB_URL=your_mongodb_url PORT=your_port
-
Run Docker:
docker-compose build docker-compose up
-
Seed the database with initial data:
docker exec -it kpi-dashboard-express-app-1 yarn seed
Your application should now be running and accessible at http://localhost:your_port
, It should be 3000