Skip to content

kasfil/bookies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOOKIES

What is this?

This repo contains an app for Altech recruitment test.

Stack

read stack.md

Running instruction

  1. Ensure you have migrate cli installed on your device
  2. Run development database. I provide docker compose file to easily running development PostgreSQL server.
    • Database name bookies
    • Exported port 15432
    • Default password bookiesDBpass
    • Default user postgres
  3. Run migrations
    migrate -source file://migrations -database postgres://{user}:{password}@{host}:{port}/{db_name} up
  4. [OPTIONAL] You can run sample-data.sql to populate dev DB with sample data
  5. Copy sample.env to .env in root project and modify it as you need
  6. Running app by
    go run cmd/server/main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages