Created a members-only website where only members are allowed to create posts and see the author of the post, guests are allowed to see all posts but not the author of the post.
- Ruby on Rails
- Active Record
- Bootstrap 4
- Ruby
To get a local copy of the repository please run the following commands on your terminal:
$ cd <folder>
$ git clone git@github.com:garciajordy/members-only.git
$ cd members-only
Install webpack
$ rails webpacker:install
Migrate the database
$ rails db:migrate
Run the rails server
$ rails server
In order to see all posts with authors, create user:
$ http://localhost:3000/users/sign_up
To edit an user, navigate to:
$ http://localhost:3000/users/edit
In order to see all posts, navigate to:
$ http://localhost:3000
Jordy Garcia
Donat
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
- This project is MIT licensed.
- This project is creativecommons licensed.