This is a full-stack chat application. The technology stack is
- Backend: Ruby on Rails
- Frontend: Semantic UI
- Clone the repository
- Go to the Chat-App directory
- Ensure that your rails version is 5.2.1
- Set up the database by running
rails db:migrate
- Start the rails server by running
rails s
- The app will be visible on localhost:3000
- Open
rails console
- Add users by entering the command User.add(username: "
name_you_want
", password: "password_you_want
") - A secure password will be created by the app
- Authentication - Only registered users can enter the chat room
- Users can type in messages and this will be stored in the database. This will also be displayed in the chatbox
- Person who logs in next can view these messages and can chat using the app
Reference: Online tutorials