An open API service indexing awesome lists of open source software.

https://github.com/gurleensethi/restify-crud

A simple CRUD app with restify.
https://github.com/gurleensethi/restify-crud

api crud nodejs restify typescript

Last synced: about 2 months ago
JSON representation

A simple CRUD app with restify.

Awesome Lists containing this project

README

          

# restify-crud

A simple CRUD app built using `restify` and `typescript`.

## Installing and Setup

```
npm install
```

```
npm run start:dev
```

## Routes

- `GET /transactions`
- `POST /transactions`
- Payload: `{ type: "credit" | "debit", amount: 100 }`
- `DELETE /transactions/:id`
- `GET /account/current-balance`

Make sure to send the header `Content-Type: application/json` with each request.