Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 760 Bytes

README.md

File metadata and controls

49 lines (39 loc) · 760 Bytes

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