An open API service indexing awesome lists of open source software.

https://github.com/kartheekgj/crudapi

This is a repo for CRUD application using mongo nodejs and express
https://github.com/kartheekgj/crudapi

crud-application expressjs mlabs mongo-nodejs nodejs rest-api

Last synced: 27 days ago
JSON representation

This is a repo for CRUD application using mongo nodejs and express

Awesome Lists containing this project

README

          

# CRUD API
This is a repo for CRUD application using mongo nodejs and express
After downloading do the following steps to start the application
1. npm install
2. npm run start

This will start the application @ localhost:5123
please use following links to do the crud applications


  1. READ ALL:

    GET http://localhost:5123/api/v1/todos/all

  2. READ ONE:

    GET http://localhost:5123/api/v1/todos/1

  3. InsertOne:

    headers: title: "RANDOM TEXT"

    POST http://localhost:5123/api/v1/todos/post

  4. DELETE ONE:

    POST http://localhost:5123/api/v1/todos/del/5

    DELETE ALL: POST http://localhost:5123/api/v1/todos/del/all