/deno-crud-api

My first implementation of Deno runtime environment for JavaScript and TypeScript.

Primary LanguageTypeScript

deno-crud-api

My first implementation of Deno runtime environment for JavaScript and TypeScript. Writing APIs with Deno.

Modules

  1. Oak
  2. dotenv
  3. Mongodb

Edit

  1. Change the .env file in the root directory to suite your database

Routes

/users

  • METHOD : GET
  • RESPONSE - All users records

/users/:id

  • METHOD: GET
  • RESPONSE - Single user record

/users/:id

  • METHOD: PUT
  • RESPONSE - Update Single user record

/users/:id

  • METHOD: DELETE
  • RESPONSE - Delete Single user record