- Create a simple rest api.
- Expose routes for **GET, POST ** methods.
- If you want to connect to the database, you can change the related config from config/config.ts
GET- /api/v1/usersPOST- /api/v1//users (form data)GET- /api/v1/users/:id
Step 1: Install
curl -fsSL https://deno.land/x/install/install.sh | shStep 2: Run
deno run --allow-env --allow-net server.ts