Skip to content

MonilBhavsar/DENO-REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DENO-REST-API

A Simple REST API using DENO 1.0, TypeScript & Oak Framework

πŸš€ Running the App

deno run app.ts

or by setting flags

deno run --allow-env --allow-net app.ts

πŸ” Requests

  1. GET /students : List All the students

  2. GET /students/{roll_no} : List requested student details, returns error if not found.

  3. POST /students : Adds a new student

  4. PUT /students/{roll_no} : Updates requested students details, returns error if not found.

  5. DELETE /students/{roll_no} : Deletes requested students detail, returns error if not found.

βœ… Reviews

  1. Finally got rid of bulky node packages, Now one can import packages directly through url.
  2. Highly secured, Only permission based access for folders and environment variables.
  3. Fast as designed on Rust.

Line by Line Guide here.

About

A SIMPLE REST API for getting hands on DENO πŸ’«

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published