Skip to content

Latest commit

 

History

History
85 lines (55 loc) · 1.32 KB

README.md

File metadata and controls

85 lines (55 loc) · 1.32 KB

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