/vertigo

Advert service for vertical classified

Primary LanguageHTML

Advert service for vertical classified

Features:

  • Completely ready for use
  • Specification first
  • Code generation for boilerplate code
  • Auto-migration for DB
  • Similar to CQRS

Dependency

Setup

After install all dependencies, follow these simple steps:

  1. Create db and Postgis extension
$ sudo su - postgres
$ psql
$ CREATE DATABASE advertservice;
$ \c advertservice
$ CREATE EXTENSION postgis;
  1. Update config for connect to DB and PORT
$ nano Makefile
  1. Create DB scheme:
$ make migrate
  1. Start app:
$ make run

Documentations

$ make run
$ open http://localhost:8000/docs

Testing

$ make test

Architecture

architecture