Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 831 Bytes

README.md

File metadata and controls

33 lines (29 loc) · 831 Bytes

MESS-APP

Mess-app is to manage mess bugets amoung roommates.

Seting up

Local environment

Setting up postgres. docker-compose up -d

Installing goose go get bitbucket.org/liamstask/goose/cmd/goose

To run db migration

source config/local.env
cd migration
goose -env local up

To generate model

cd internal
swagger generate model --name=[model-name] --spec=../docs/swagger.yml
eg:
swagger generate model --name=UserPayload --spec=../docs/swagger.yml

model-name is the models given in swagger file. eg: UserPayload

ToDo:

  • Create architecture diagram.
  • Create swagger file for all api specification.
  • Database design for the app. Please make a doc first in docs directory.
  • Implement logger using logrus package.

Contributions

  • Checkout branch from develop and make PR to develop.