Make sure you have the following installed:
- Node.js
- NPM
Clone the repository using the command
git clone https://github.com/thammarith/LIT-backend.git
Enter the directory using
cd LIT-backend\
Run the commnad to install the dependencies using
npm install
After the setup is completed, for the development environment, run
npm run serve
or run the following commands for the production environment
npm run build
npm start
In order to change the API endpoint, change the host
variable in ./src/config.js