Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Repository files navigation

Test for Kupibilet

Setup:

Prerequisites: rust, docker, migrant

$ docker-compose --env-file .env up -d # start Postgres
$ migrant setup                        # apply migrations
$ migrant apply
$ cargo run

Alternatively, manually applying migrations after starting the database:

$ psql -h localhost -U postgres postgres -f ./migrations/20211023145913_create-tickets/up.sql

Usage

As per task requirements.

API is available on port 8000. Some sample data is available in associated repository kupibilet_data folder, taken from Kaggle.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages