nthu-servsec-crypto-delta / chitchat-api

MIT License
0 stars 0 forks source link

chitchat-api

This is the ChitChat API.

Routes

Postit Routes (Deprecated)

Event Routes

Event roles

Postit

Accounts Routes

Notes

Install

Install required gems through bundle.

bundle install

Setup

Create a secrets.yml file in the config folder, see example at config/secrets.example.yml

Test

Run database migrations to setup test database

export RACK_ENV=test
rake db:migrate
rake spec

Run

Run migration files to setup development database

RACK_ENV=development rake db:migrate

Run this API server using puma at project root.

puma

Server would listen on http://0.0.0.0:9292.