Skip to content

sketchglass/respass

Repository files navigation

respass

Websocket-based chat app implementation written in TypeScript

Try now

CircleCI Coverage Status

Deploy

Notes

In production environment, you have to use this application with https. If not, the server will automatically redirect to https.

Development

With Docker

Prerequisites

  • Docker
  • Docker Compose

Build Images

docker-compose build

Update Typings and Node Modules

docker-compose run --entrypoint docker/init.sh respass

Run

docker-compose up

Test

docker-compose run --entrypoint docker/test.sh respass

Manual

Prerequisites

  • PostgreSQL
  • NodeJS (>=6)

DB Settings

Create User respass with empty password.

createuser respass
createdb respass-dev
createdb respass-test

Run

cp .env.sample .env
npm install
npm run db:migrate
npm start

Testing

npm test

CONTRIBUTING

See CONTRIBUTING.md

LICENSE

MIT