Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruiokazaki-archive/nest-expense-app
支出管理アプリ / nestjs の勉強
https://github.com/ruiokazaki-archive/nest-expense-app
Last synced: 3 days ago
JSON representation
支出管理アプリ / nestjs の勉強
- Host: GitHub
- URL: https://github.com/ruiokazaki-archive/nest-expense-app
- Owner: ruiokazaki-archive
- Created: 2022-03-10T04:30:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-11T13:41:30.000Z (over 2 years ago)
- Last Synced: 2024-02-02T02:50:31.105Z (9 months ago)
- Language: TypeScript
- Homepage: https://nest-expense-app-production.up.railway.app/
- Size: 206 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Endpoint
### 収入
/report/income
GET 全件
GET /:id 1件
POST 登録 { "source": "Youtube", "amount": 3000 }
PUT /:id アップデート { "source": "Youtube", "amount": 3000 }
DELETE /:id
### 出費
/report/expense
GET 全件
GET /:id 1件
POST 登録 { "source": "Youtube", "amount": 3000 }
PUT /:id アップデート { "source": "Youtube", "amount": 3000 }
DELETE /:id
### 合計
/summary
GET 収入, 出費, 差額
## Installation
```bash
$ npm install
```## Running the app
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```## Test
```bash
# unit tests
$ npm run test# e2e tests
$ npm run test:e2e# test coverage
$ npm run test:cov
```