RESTful JSON API
In the assessment task:
This is a time tracking app. Multiple users can create project with unique id's can spend their time on it and sign out. In the end the app gives you the summary of time that you spend on each projects. It uses:
- gorm as relational mapper
- postgres
- jwt token for authentication
- gin as framework for api development
As there were multiple requirements like
Creating CRUD for entity Category using memory persistance. Create CRUD for entity Article using text file persistance.
Due to time constraint There are lot of functionalities to cover but following areas covered somewhat:
- go unit test: 1 example not covered the whole app.
- make file commands
- github workflows
- secret management using .env file
- tried to show isolation in apps. so there is less and less dependencies