Made with
- Git
- Node.js and NPM >= v8.9.4
- ExpressJS
- mongodb
- Swagger
- eslint Run
npm i -g eslint
- 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
- /auth
- /hotels
- /users
- /docs
- POST user requires a email ( @ validation)
- Delete and update hotels require token