Welcome to the SCAMS project! Follow the steps below to set up and run the application.
Ensure you have the .env
file included with the source code. Place this file in the root of the repository before proceeding.
-
Install all dependencies by running the following command:
npm install
-
For testing purposes, we have provided a seeding file containing sample data. You can find the file in the
prisma/seed.ts
directory for details about default accounts and other information. -
To reset and seed the database for the first time, run:
npm run db:reset
Start the Front-end and Back-end services in two separate terminal windows:
-
For the Front-end service:
npm run dev
-
For the Back-end service:
npm run next-dev
That's it! The application should now be up and running at http://localhost:5173/
.
If you encounter a planLimitReached
error, please contact us at:
quy.leemin@hcmut.edu.vn