Skip to content

icornman/todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo App

Note This project was created on the basis of video tutorials by @zhashkevych

Installation

First, make sure to add the Postgres password to your .env file in the project root directory.

DB_PASSWORD="qwerty"

Setup

Once you've pulled out the repo:

  1. Run PostgreSQL environment with Docker compose: docker-compose up -d
  2. Run the migrations:
    migrate -path ./schema -database 'postgres://postgres:qwerty@localhost:5432/postgres?sslmode=disable' up
  3. Prepare the configuration files:
    • in configs/config.yml you can change your server port or database configurations.

🎉 You're now good to go :).

Testing

You can quickly test this REST API with ready-made Postman collections. Run in Postman

Releases

No releases published

Languages