By Group 5
Install from https://nodejs.org/en
This project Uses yarn as the package manager. Do not use npm/pnpm as it will conflict with the modules installed.
To install yarn, run the following command
npm -g install yarn
Now run
yarn --version
to confirm that yarn is installed.
Please refer to official guides to install MySQL locally.
yarn install
Change the values in ./configs/db.config.js to suit your local enviroment.
To run the server, use following yarn script
yarn start
To add an admin user with admin previledges, run the following script.
yarn create-admin
To delete all admin users, run the following script.
yarn delete-all-admin