- Fork the repository and clone it
git clone [email protected]:{username}/ICTv7-Backend.git ict-v7-backend
- Change directory to the project directory
cd ict-v7-backend
- Install dependencies
npm install
- Copy the
.env.example
file to.env
cp .env.example .env
Open the .env
file and update the PORT
value to your preferred port number.
- Start the API in development mode
npm run dev
- Build api
npm run build
- Start the API in production mode
npm start
Make sure you have installed docker
in your system.
- Build and start docker container
docker-compose up -d --build