An open API service indexing awesome lists of open source software.

https://github.com/cyrus-kiprop/members-only


https://github.com/cyrus-kiprop/members-only

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Ruby On Rails Authentications



Version

License: MIT


Twitter: kipropJS

## Description of the project
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](https://github.com/heartcombo/devise]).

**The project contain database models and schemas that model the user and the
post object.
visit [The Odin Project 'Members Only'](https://www.theodinproject.com/courses/ruby-on-rails/lessons/authentication) for the full project specifications.

### ⭐️ Built with
* Ruby,
* Ruby on Rails,
* Rails authentication Devise gem [here](https://github.com/heartcombo/devise)
* SQL lite as the default database
* vim - or favourite text editor

### Dev Environment Requirements:
* Ruby, check [here](https://www.ruby-lang.org/en/documentation/installation/) for more information.

### ⭐️ Running the code

#### Instructions:

1. Clone the members-only repo [here](https://github.com/Cyrus-Kiprop/members-only)

2. Navigate into the root of the folder
```
$ cd ./members-only
```
3. Run bundle install to install the necessary gems:
```
$ bundle install
```
3. Install Yarn
```
$ yarn install --check-files
```
3. Migrate the DB
```
$ rails db:migrate
```
3. Run the sandboxed console to explore the database
```
$ rails console --sandbox
```
4. Run the server
```
$ rails server
```
5. First time users should register on the index page

6. After registration, login to view, create, delete and update your posts.

7. Non members can only view existing post but dont have create, delete and
update priviledges.

## Authors

👤 **Cyrus Kiprop**

- Github: [Cyrus-Kiprop](https://github.com/Cyrus-Kiprop)
- Twitter: [@kipropJS](https://twitter.com/kipropJS)
- Linkedin: [Cyrus Kiprop](https://www.linkedin.com/in/cyrus-kiprop-ba7320120/)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to leave a comment or open an issue. [issues page](https://github.com/Cyrus-Kiprop/members-only/issues).

## Show your support

Give a ⭐️ if you like this project sanbox

## 📝 License

This project is [MIT](LICENSE) licensed.