/hotels-RESTApi

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

Primary LanguageJavaScript

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