Skip to content

JeremyChuaWX/gossip

Repository files navigation

Gossip

A chat room application.

Demo

demo.mov

Architecture

architecture image

How to run

Dependencies

  • Docker
  • Go
  • Node

Pre-requisites

Set the correct permissions for the PGAdmin configuration files.

chmod -R 600 ./docker/pg_config

Full suite

  • Spin up PostgreSQL database container
  • Run migration scripts against database
  • Spin up accompanying PGAdmin container
  • Spin up built image of the server
make start

Development environment

  • Spin up PostgreSQL database container
  • Run migration scripts against database
  • Spin up accompanying PGAdmin container
make dev
  • Run the server locally
make server

Run migration scripts

Run the migration scripts against the PostgreSQL database specified.

POSTGRES_URL="<postgres-uri-here>" make migrate

Stopping services

Stops any of the services spun up by running make start or make dev

make stop

Clean up volumes

Delete persisted volumes for PostgreSQL and PGAdmin containers.

make clean

About

Chat room application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published