Skip to content

ibrahimker/Tigerhall-Kittens

Repository files navigation

Tigerhall Kittens

Description

Monolithic repository services for Tigerhall Kittens services.

Prerequisites

Test

Unit Test

$ make tidy
$ make cover

API Test

To run API test, we need to start all dependencies needed. We provide all dependencies via Docker Compose. Make sure to install Docker Compose before running integration test.

Also, we need to build the docker image for tigerhall-kittens first.

$ make rebuild-server

After that, run all images needed using docker-compose.

$ docker-compose up

Now that the server is run, we need to migrate our local database first before running the program. Read Database Migration for detail information

$ make migrate-schema url="postgres://postgresuser:postgrespassword@localhost:5432/tigerhall"
$ make migrate url="postgres://postgresuser:postgrespassword@localhost:5432/tigerhall" module=sighting

After you run migration, now the API is ready to be hit. Import [Postman Colletcion](doc/Tigerhall Kittens.postman_collection.json) to postman (or your respective http client) then just hit the API

testing.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published