This is part of the Authentication Project in The Odin Project’s Ruby on Rails Curriculum. Find it at here.
-
Sign up
- after sign up, the status becomes signed in
-
Log In
- log in status remains while
- user moves page to page
- without logout, user close browser and open it again
- log in status remains while
-
Log Out
- deletes log in status
-
Post List
- the author’s name can be displayed only if a user is signed in.
-
Post Write
- log in status : move to "post write" screen
- log out status : move to "log in" screen
- Ruby 2.6.3
- Rails 5.2.3
To get started with the app, clone the repo and then install the needed gems:
$ bundle install --without production
Next, migrate the database:
$ rails db:migrate
Then, load data from seed into the database:
$ rails db:seed
Finally, run the test suite to verify that everything is working correctly:
$ rails test
If the test suite passes, you'll be ready to run the app in a local server:
$ rails server
This is a collaborative project by us: Simon Wathigo and Suhyeon Jang
- Fork it (https://github.com/shjang7/members-only/fork)
- Create your feature branch (git checkout -b feature/[choose-a-name])
- Commit your changes (git commit -am 'what this commit will fix/add')
- Push to the branch (git push origin feature/[chosen-name])
- Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details