Skip to content

chat-app-architecture/chat_api_ruby

Repository files navigation

Stonks Rails API

Stonks Rails API is Rails API that has functionality to allows Storns to manage Users, UserResources, Groups and GroupMessages models.

Installation

bundle install
rake db:create
rake db:migrate

Run the server

rails server

Run specs

# please check lib/tasks/rspec.rake
rake

Run ruby scanners

Note that these commands can be easily integrated in Circle CI.

rubocop

brakeman --path ./components/api
brakeman --path ./components/authentication
brakeman --path ./components/chat

bundler-audit

Redis

Please install Redis in your machine: https://redis.io/docs/getting-started/installation/.

After the installation, please run:

redis-server

Engines

For more information about the engines, please visit their respective READMEs.

Api Engine

API Engine

Authentication Engine

Authentication Engine

Chat Engine

Chat Engine

About

A fully-fledged backend Chat API with Rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages