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.
- Host: GitHub
- URL: https://github.com/gurleensethi/restify-crud
- Owner: gurleensethi
- Created: 2021-06-23T23:34:45.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-23T23:34:55.000Z (about 5 years ago)
- Last Synced: 2025-03-24T13:26:12.892Z (over 1 year ago)
- Topics: api, crud, nodejs, restify, typescript
- Language: TypeScript
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.