JNCJcoder / deno-backend-crud

CRUD Restful API created with Deno using OAK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


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.

About

CRUD Restful API created with Deno using OAK

License:MIT License


Languages

Language:TypeScript 99.2%Language:Batchfile 0.8%