- Web: gin
- Database access: sqlx
- Data validation: validator
- Configuration: viper
- Logging: logrus
- JWT: golang-jwt
- Database: PostgreSQL
- Image Storage: cloudinary-go
- Install Docker and Docker Compose.
make environment
make migrate-up
cp app.env.sample app.env
, adjust the valuemake server
- App running!
You can run make help
for showing all available commands :
❯ make help
environment Setup environment.
migrate-all Rollback migrations, all migrations
migrate-create Create a DB migration files e.g `make migrate-create name=migration-name`
migrate-down Rollback migrations, latest migration (1)
migrate-up Run migrations UP
server Running application