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 |
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.
This project is under MIT License.