Skip to content

JNCJcoder/deno-backend-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Deno Backend with Restful CRUD API

Deno Backend

CRUD Restful API created with Deno using OAK

License MIT

💻 Info:

Backend with CRUD Restful made using Deno, TypeScript, JSON and OAK.

  • Created with Deno 1.0.0
  • The database is a ".json file".
  • OAK is a lib similar to NodeJS's Koa.
Routes HTTP Description
/clients GET Read All Clients
/clients POST Create Client
/clients/:id GET Read by Client ID
/clients/:id PUT Update By Client ID
/clients/:id DELETE Delete By Client ID

👨‍🏫 Testing

Download and install Deno.

Test the project using:

deno test --allow-net --allow-write --allow-read __tests__/app.test.ts

OR

Run the project using:

deno run --allow-net --allow-write --allow-read src/index.ts

Import the Insomnia.json file using the Insomnia or Postman.

📝License

This project is under MIT License.

Releases

No releases published

Packages

No packages published