Skip to content

PetHome-Adopta/pethome-api

Repository files navigation

PetHome - Adopta project - API

Install packages API

npm install

MongoDB

Check status

sudo systemctl status mongod

Run database

sudo systemctl status mongod

Run API

Production

First we need to build the bundle into a js version using

npm run collections

First we need to build the bundle into a js version using

npm run build

Then we can start it with the next command

npm start

Development

For run the development with hot reload version we need to use the next command

npm run dev

It will watch all the changes that you do

What you will need

  • An IDE or text editor (VS Code)
  • A package manager such as NPM or Yarn
  • Node.js installed
  • MongoDB server installed