Skip to content

Commit

Permalink
update requirement for readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nvcnvn committed Jun 30, 2020
1 parent 32c8a9c commit 6b6e415
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
### Overview
This is a simple backend for good old todo service, right now this service can handle login/list/create simple tasks.
To make it run:
- `go run main.go`
- Import Postman collection from `docs` to check example

Candidates are required to implement below requirements
### Requirements
Right now a user can add many task as they want, we want ability to limit N task per day.

Example: users are limited to create only 5 task only per day, if imit reached, return 4xx code to client and ignore the create request.
#### Backend requirements
- Write integration tests for this project
- Make this code DRY
- Write unit test for `services` layer
- Change from using `SQLite` to `Postgres` with `docker-compose`
#### Frontend requirements
- Login interface
- Token management state
- UI for list/create tasks
#### Optional requirements
- Write unit test for `storages` layer
- Split `services` layer to `use case` and `transport` layer

### DB Schema
```sql
-- users definition
Expand Down

0 comments on commit 6b6e415

Please sign in to comment.