Skip to content

co-piloto/api

Repository files navigation

API

Install

npm install

Run with Node

npm start

Run with Nodemon

npm run dev

Run ESlint

npm run lint

Run with Docker and docker-compose

docker-compose up

Routes

HTTP VERB Endpoint Status Response
POST /user 201 JWT Token
GET /user 400 User alrdedy exists
PUT /user 201 New user

ENV

#PORT=
MAIL_HOST=
MAIL_PORT=
MAIL_USER=
MAIL_PASS=
MONGO_URL=
JWT_KEY=

ARCH

Services

  • Digital Ocean Cloud

  • Github

  • Buddy CI CD

  • MongoDB - Mongo Atlas Database NoSQL

  • Nginx - Proxy reverso