Note This project was created on the basis of video tutorials by @zhashkevych
First, make sure to add the Postgres password to your .env
file in the project root directory.
DB_PASSWORD="qwerty"
Once you've pulled out the repo:
- Run PostgreSQL environment with Docker compose:
docker-compose up -d
- Run the migrations:
migrate -path ./schema -database 'postgres://postgres:qwerty@localhost:5432/postgres?sslmode=disable' up
- Prepare the configuration files:
- in
configs/config.yml
you can change your server port or database configurations.
- in
🎉 You're now good to go :).
You can quickly test this REST API with ready-made Postman collections. Run in Postman