/nock-api

The NockApp API

Primary LanguageJavaScript

Project Nook API

School project aiming at the creation of a platform Neighbour-to-Neighbour communication platform

Production site

Deploy with heroku

http://nock-nock.herokuapp.com/

Getting Started

  1. Create and fill the .env file like the exemple .env.example

  2. Install depedencies npm install

  3. Launch the app nodemon server

Prerequisites

  • NodeJS
  • MongoDB database

Minimal data set

You have to lunch config/Quickstart.js

For this uncomment the line 36 into app.js

Run the command nodemon server one time.

Then you can delete the line 36 into app.js

Postman data req

All of this is stored in the file config/postMan
You have an export for all reqest possible with this API

CRUD : CRUD.postman_collection.json
Custom Get : Custom Get.postman_collection.json
Functions : Functions.postman_collection.json

You have an export for all variable to facilitate the use of postman

Nock Variables : Nock Variables.postman_environment.json

Authors