- typescript
- express
- mysql2
# go to deploy directory
cd deploy
# build api-server
docker-compose build
# run api-server with mysql
docker-compose up
- Method: POST
- Uri: /account/create
- Request Body
- {"nickname": "[NICKNAME]"}
- Resonse Body
- Success: [LAST_INSERT_ID]
- Method: POST
- Uri: /account/get
- Request Body
- {"nickname": "[NICKNAME]"}
- Resonse Body
- {"AccountId": [ACCOUNT_ID], "Nickname": "[NICKNAME]"}
- Method: POST
- Uri: /account/delete
- Request Body
- {"nickname": "[NICKNAME]"}
- Resonse Body
- Success: [AFFECTED_ROW_COUNT]
- logger
- error handling