$ brew install deno
$ deno run --allow-net --allow-env --allow-read --allow-write --unstable server.ts
or [Using denon]
$ deno install --allow-read --allow-run --allow-write --allow-net -f -q --unstable https://deno.land/x/[email protected]/denon.ts
$ denon start
or [Docker]
$ docker-compose up -d
- Home: GET: localhost:port/v1
- Signup: POST: localhost:port/v1/signup
- Login: POST: localhost:port/v1/login
- Logout: POST: localhost:port/v1/logout
- Get Me: GET: localhost:port/v1/user
- GetAll Todo: GET: localhost:port/v1/todos
- Get Todo: GET: localhost:port/v1/todos/{id}
- Create Todo: POST: localhost:port/v1/todos
- Update Todo: PUT: localhost:port/v1/todos/{id}
- Delete Todo: DELETE: localhost:port/v1/todos/{id}