Backend for product & order management

Prerequisites

Make sure you have the following installed:

  • Node.js
  • NPM

Installation

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

Configuration

In order to change the API endpoint, change the host variable in ./src/config.js