Skip to content

The Blog app is a classic example of a blog website. It is a fully functional website that shows the list of posts and empower readers to interact with them by adding comments and liking posts.

License

Notifications You must be signed in to change notification settings

ArthurGC/blog-app-project

Repository files navigation

Blog App - Ruby on Rails

The Blog app is a classic example of a blog website. It is a fully functional website that shows the list of posts and empower readers to interact with them by adding comments and liking posts.

Screenshot

Blog App root

🔨 Preview

🔨 Built With

  • Ruby on Rails
  • Bootstrap
  • Heroku

To get a local copy up and running follow these simple steps:

First Steps

  1. Clone it using git command:
git clone https://github.com/ArthurGC/blog-app-project.git

Run in development (locally)

  1. Install gem files and dependencies:
bundle install
yarn install
  1. Setup you database.yml with your own postgres's password or create a PASS_POSTGRES environment variable
  password: <%= ENV["PASS_POSTGRESQL"] %>
  1. Setup db and seed file
rails db:setup
rails db:seed
  1. Run server
rails server

[OPTIONAL] if you receive an error about turbolinks or application.(css/js) after running the server. Please use this command before run the server:

rails assets:precompile

Run tests

  1. To run all tests in the project
rspec

If you wanna run a certain test file

rspec spec/test_file_path

📘 Learning Objectives

  • Use controllers to handle requests and render empty views.
  • Install Ruby on Rails framework.
  • Use Ruby Gems as a software packages system.
  • Understand Rails naming conventions.
  • Use params from browser requests in a safe way.

Authors

👤 ArthurGC

👤 Guilherme Giachellin

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

About

The Blog app is a classic example of a blog website. It is a fully functional website that shows the list of posts and empower readers to interact with them by adding comments and liking posts.

Topics

Resources

License

Stars

Watchers

Forks