Giter Club home page Giter Club logo

blog-app-project's Introduction

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.

blog-app-project's People

Contributors

arthurgc avatar guilhermegiachellin avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.