Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<<<<<<< HEAD

Codex Task

uses mvc model without the v

the data is stored in mongodb cloud and all insertion and deletions is managed by mongoose package

express package encapsulates the routing

all the details for the routing functions are written in controller for clarity of code and modularity

all crud operations and search are done through the routes in documentRouter.js

API ENDPOINTS

get all --> GET /documents

find by id -->GET /documents/{id}

update --> PATCH /documents/{id} BODY -> { json updated props}

delete --> DELETE /documents/{id}

add doc --> POST /documents BODY -> { json doc}

add many docs --> POST /documents/bulk

search --> GET /documents/{search param}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages