Capstone Project of the Ruby on Rails Curriculum in Microverse.
Here is a Capstone project built with Ruby on Rails. Project ideas are coming from a redesign suggestion of Twitter.
- Users log in only with a username (proper authentication was not a requirement)
- Before a user logs in, they can only see the Log in/Sign up page
- When they log in, they have full access to the app
- Users can create opinions/tweets
- Users can follow other users
- The discover page shows the most recent opinions/tweets from users that the logged-in user does not follow
- The app is an MVP of the product - with the graphical design, including essential features, with the possibility to extend.
- Ruby (version 2.7.2)
- Ruby on Rails (version 6.3.1)
Ruby: 2.7.2 Rails: 6.1.3 Postgres: >=13.2
To get a local copy up and running, follow these simple example steps.
- Position yourself in a working directory, e.g.:
~/work
- Run the following command
git clone [email protected]:marijanbrvar/Opinioner.git && cd Opinioner
- To install prerequisites, just run
bundle install
, - sometime is necessary to run
yarn install
as well - Now, we need to migrate the database. We assume you already install the Postgres server on your local machine
- To enable the database for our application, run the following commands:
rails db:create
rails db:migrate
- After all these steps are finished, you can run the application by calling
rails server
- Open the application in your browser at
http://localhost:3000/register
and sign up with a new user.
Run following command for unit and integration tests
'rspec'
To make sure the linters' checks using Github Actions work properly, you should follow the next steps:
- On your recently forked repo, enable the GitHub Actions in the Actions tab.
- Create the
feature/branch
and push. - Start working on your milestone as usual.
- Open a PR from the
feature/branch
when your work is done.
๐ค MARIJAN BRVAR
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
Design: Twitter Redesign, by Gregoire Vella
- This project is MIT licensed.
- This project is creativecommons licensed.