To make it run:
- Create
.env
file at root folder, then copy content of.env.example
into it. - Run
docker-compose up
.
Or:
- Run
make init-local
. - Run
make run
.
To run tests:
- Run
make test
- Installed
docker
anddocker-compose
- Installed Golang ~v1.14
- Change identify field of
users
andtasks
table tointeger
instead of text type. - Change
created_date
fromtext
todatetime
. It make availability for filter by datetime. - Dockerized this app.
- Use environment variables to store application configs.
- Switch database from SQLite to Postgres.
- Use
pgcrypto
to hash and compare password. - Change login request method from
GET
toPOST
to prevent user's info expose in URL. - Split
service
todomain
layer andusecase
layer. - Move
storages
todata
layer. - Implement clean architecture.
- Write tests.
- Update postman apis doc
- Write auth middleware
- Write unit test for data layer
- Write more details comments in source code
- (optional) Implement refresh token function