Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 742 Bytes

README.md

File metadata and controls

61 lines (46 loc) · 742 Bytes

SLACK-CLONE-BACKEND

run time: Makefile

For development

Create config.yml

app:
  host: localhost
  port: "8080"
postgres:
  user:
  password:
  dbname:
  port:
redis:
  port:
  password:
jwt:
  secret:
api:
  key: x-api-key
    public: <public-key>
mail:
  sender: <sender-email>
  key: <sendgrid-key>

Use Docker + Postgres

make up

Down Docker + Postgres

make down

Init Migrate Postgres - Start Project

make migrate-init

Migrate Postgres

make migrate

Run server

make run

Serve on http://localhost:8080