zayrus / hotels-RESTApi

RESTApi based in swagger, NodeJS with MongoDB and Factory Design Pattern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hotels-RESTApi

Made with

Optional

  • eslint Run npm i -g eslint

Getting Started

  • Run git clone https://github.com/zayrus/hotels-RESTApi.git
  • Run cd hotels-RESTApi & npm i
  • Rename .example_env to .env
  • Run mongod
  • Run npm start

API ROUTES

  • /auth
  • /hotels
  • /users
  • /docs

Notes

  • POST user requires a email ( @ validation)
  • Delete and update hotels require token

About

RESTApi based in swagger, NodeJS with MongoDB and Factory Design Pattern


Languages

Language:JavaScript 100.0%