Skip to content
/ Slothy Public

Task management and chat app inspired by Discord, Trello and Slack.

Notifications You must be signed in to change notification settings

Wahuh/Slothy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slothy.io

A web app inspired by Slack, Discord and Trello which features chat, task management and social groups.

Coverage Status

Features

Getting Started

Prerequisites

Installation

Environment Variables

In the server folder, create two files: .dev.env and .test.env. They will both look the same except for POSTGRES_DB, POSTGRES_PORT and POSTGRES HOST because there are separate server and database services for development and testing.

POSTGRES_PASSWORD=postgres_password
POSTGRES_DB=name_of_the_database_created_by_default
POSTGRES_HOST=name_of_the_database_service
POSTGRES_PORT=5432
POSTGRES_USER=postgres
JWT_SECRET=super_secret_key_for_jwt_auth

Running tests

docker-compose up
docker exec -it server_test npm run test
#use this regularly
docker system prune

The container_name specified in the docker-compose file can replace the id.