Skip to content

Manojkumar8497/Deno-MonoDB-REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Deno MongoDB REST API

REST API CRUD operation using Deno, Oak and MongoDB.

Installation

  1. Clone the repository
  2. Start the server by running deno run --allow-net --allow-write --allow-read --allow-plugin --unstable server.ts

Note: Deno is secure by default. No file, network, or environment access, unless explicitly enabled. So when you run the server, its important to add --allow-net --allow-write --allow-read --allow-plugin --unstable.

Usage

You can access the following endpoints on http://localhost:3000/api/v1.0/

METHOD URL Description
GET /products Return all Products
GET /products/:id Return single Products
POST /products Create a Product
PUT /products/:id Update Product
DELETE /products/:id Delete Product

More Updates

Follow me on LinkedIn to get the latest update about features, code, and more. If you like this project give a star to this repo.

Thanks

Thanks to all contributors and their support.

If you have an idea or you want to do something, tell me or just do it! I'm always happy to hear your feedback!

Copyright and license

Code and documentation copyright 2020 the authors. Code released under the MIT License.

About

REST API CRUD operation using Deno, Oak and MongoDB.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published