/REST-API-with-Mongoose

A simple RESTful API made using mongoose and express on Node.js.

Primary LanguageJavaScript

A RESTful API that uses mongoose.

To test this API, clone repository, run npm install, run npm start or node app.

Main app is defined in app.js (control) and routes are defined in the routes folder. The account schema and model (model) is defined in the models folder. This API has no implemented view (yet).

endpoints are: GET /accounts POST /accounts PUT /accounts/:id DELETE /accounts/:id