The project involves creation of a clubhouse website(twitter like in functionality) in rails. The app implements authentication in rails. The used technique in this app is authentication using rails Devise gem.
**The project contain database models and schemas that model the user and the post object. visit The Odin Project 'Members Only' for the full project specifications.
- Ruby,
- Ruby on Rails,
- Rails authentication Devise gem here
- SQL lite as the default database
- vim - or favourite text editor
- Ruby, check here for more information.
-
Clone the members-only repo here
-
Navigate into the root of the folder
$ cd ./members-only
-
Run bundle install to install the necessary gems:
$ bundle install
-
Install Yarn
$ yarn install --check-files
-
Migrate the DB
$ rails db:migrate
-
Run the sandboxed console to explore the database
$ rails console --sandbox
-
Run the server
$ rails server
-
First time users should register on the index page
-
After registration, login to view, create, delete and update your posts.
-
Non members can only view existing post but dont have create, delete and update priviledges.
👤 Cyrus Kiprop
- Github: Cyrus-Kiprop
- Twitter: @kipropJS
- Linkedin: Cyrus Kiprop
Contributions, issues and feature requests are welcome!
Feel free to leave a comment or open an issue. issues page.
Give a ⭐️ if you like this project sanbox
This project is MIT licensed.