/api-example

Example of api service

Primary LanguageGoApache License 2.0Apache-2.0

Api-example

This repository contains example of simple API service.

You can clone this repo and run a service. Just run following commands:

  1. Clone the repo:
git clone https://github.com/gibiw/api-example && cd /api-example
  1. Run a database in docker:
make database_up
  1. Apply migrations to database:
make migration_up
  1. Run the service:
make run