/Blabber-Rails

The back-end of a Chat app where users can message each other. After authentication, users can create a chat room where they can message other users and receive replies simply by clicking on a listed user. Additionally admins are allowed to access the page for user management, there to edit a user's privileges or to delete a user.

Primary LanguageRubyMIT LicenseMIT

Blabber-Rails


Description

This is the back-end of a Chat application where users can message each other.

In this app all users (admin and regular) are allowed the following actions:

  • To signup.
  • To login.
  • To see all users listed on the sidebar, by their username.
  • To select a specific user that they desire to have a conversation with and, by clicking on the user's username, create a chat room where they can message the user and then receive replies. message reply

Admins are allowed these additional actions:

  • To access the page for user management, Manage users 1
  • To edit the priviledges of the apps other users,
  • To delete a user that is not a participant in any chat room. Manage users 2

Front-end Repository

ReactApp

Built With

  • Major languages:
    • ruby version
  • Frameworks:
    • rails version
  • Tools & Methods:
    • Postgres

Getting Started

If you have Rails 7 installed, you can skip to the Setup section

Clone Repo

To get a local copy up and running follow these simple example steps.

git clone git@github.com:German-Cobian/Blabber-Rails.git

Prerequisites

The following technologies must be installed in your local machine:

  • Ruby.
  • Postgres ('pg', '~> 1.1')
  • Node.js

Refer to Section 3 from the official Rails Guide for more detailed instructions on how to install these technologies.

Install Rails

To install Rails run these commands in your terminal:

gem install rails
# wait a few seconds for it to download
# ...
# ...
# verify that it was installed by running
rails --version

System Dependencies

To automatically install all the dependencies needed run:

bundle install

Database Initialization

To initialize the database created run:

rails db:setup

Start Server

To start the server

rails server

Which you can visit by going to http://localhost:3001 in your browser.


Created by

👤 German Cobian

Platform Badge
GitHub @German Cobian
Twitter @GermanCobian2
LinkedIn @German Cobian

Contributing

Contributions, issues and feature requests are welcome! Feel free to check the issues page


Show your support

Give a ⭐️ if you like this project!


Acknowledgments

SmartPuntoGob


📝 License

This project is MIT licensed.