cd frontend_giap &&
npm run build &&
npm run dev
Then go to http://localhost:3000/
Build and run the backend server:cd backend &&
npm i &&
npm run dev
- Install and run a local MongoDB server: https://www.mongodb.com/docs/manual/installation/
Import sample user data & contest data:
- Download MongoDB compass https://www.mongodb.com/try/download/compass
- In MongoDB compass, create a connection to mongodb://localhost:27017
- In the database "codecup", import the data here into the corresponding collections.
You can log in as an administrator:
username: admin
password: admin