Install dependencies:
cd $PROJECT_ROOT
npm iThen, in project root, copy file .env.example
into a new file called .env, and set appropriate
values for those environment variables.
Next, setup the databases as required by those variables.
Finally, apply database schemas' migrations.
cd $PROJECT_ROOT
npx prisma migrate deployRun the development server:
npm run devBuild for production:
npm run buildThen, run production code:
npm run startis available at ${BACKEND_URL}/docs.
For example if you are running on port 8000 at localhost:
Suppose that ${BACKEND_URL} is http://localhost:8000.
-
Register a new admin user at http://localhost:8000/admin/register using secret key (mã bí mật)
admin. -
Login with that new admin user.
-
??
Copyright (C) 2025 Vu Tung Lam et. al. Licensed under the terms of the 3-clause BSD license