Notes API is backend application created for Refactory.id RSP recruitment test.
| Name | Description |
|---|---|
| Golang | Golang programing language |
| Echo | Web framework for Golang |
| Redis/ Cache | Using local cache and store at redis |
| Viper | Library for handle reading configuration |
| Migrate | Database migration |
| Sqlx | Library for provide database connection |
| Casbin | Access-control library |
| Swaggo | API Documentation library provide swagger |
| GoMail | library for sending email |
| GoValidator | Additional library for validating request |
| CLI | Command line library |
- Sending email verification with queue system
- Access-Control
- API Web Documentation
- Migrations
{{host}}/api/swagger/index.html
| CMD | Description |
|---|---|
| migrations | running application migration |
| rollback | rollback database migration |
| steps | migrate look at the currently active migration version |
| drop | drop everything in the database |
| start | start application |
| launch | launch migration and start application |
web_address=
web_read_timeout=
web_write_timeout=
web_shutdown_timeout=
pg_host=
pg_port=
pg_user=
pg_password=
pg_name=
rdr_host=
rdr_port=
rdr_db=
rdr_pool=
mail_host=
mail_port=
mail_user=
mail_password=
is_dev=true
If you have any issue or feature request, please contact me. PR are welcome