Skip to content

Chandara-Sin/slack-clone-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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