The Blog App is a classic example of a blog website. I will create a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.
- Ruby
- PostgreSQL
- Use of Ruby on Rails framework.
- Use Ruby Gems as a software packages system
- Understand what ORM is
- Use database migration files to maintain database schema.
Follow these steps in order to run ruby code.
First, you need to ensure that you have Ruby installed on your computer.
It varies depending on your operating system so here are some links to help you install it on Windows and on Ubuntu.
For MacOS run the following commands
brew install rbenv ruby-build
# Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
# Install Ruby
rbenv install 3.0.1
rbenv global 3.0.1
ruby -v
This example shows how to install Ruby 3.0.1 which was the latest version in April 2021, but you can check to see if there is a newer version here. Iy is also assumed that you have homebrew already installed on your Mac.
Once you have ruby installed, clone this repository
To run the project, execute the following command in the terminal:
rails server
In your preferred browser, navigate to:
http://localhost:3000
To run tests, run the following command in the terminal:
rspec
👤 Jose Vazquez
- GitHub: @jlvFlores
- Twitter: @JoseVaz44312762
- LinkedIn: Jose (Luis) Vazquez
👤 Oscar Villagran
- GitHub: @oovillagran
- Twitter: @oovillagran
- LinkedIn: Oscar Villagran
The following are the future features that will be added to the project.
- Creating a data model.
- Processing data in models.
- Views.
- Forms.
- Validations, Model specs, and n+1 problems
- Add Devise.
- Add authorization rules.
- Integration specs for Views.
- Add API endpoints.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project you can give us a hand by recommending either one of us to potential employers! 😉🤝
We would like to thank those who have motivated us to keep on fighting despite how tough the journey may become.
This project is MIT licensed.