Skip to content

It’s a real-world-like project, built with business specifications using the Ruby on Rails framework. Showing how to fully craft site's backend using the Model-View-Controller design pattern. Build with HTML5, CSS3 and Ruby on Rails.

License

Notifications You must be signed in to change notification settings

martin-cervantes/Lifestyle_Articles

Repository files navigation

Lifestyle Articles

screenshot

This project built with Ruby on Rails is based on the Lifestyle Articles website. The following list includes technical skills that were implemented in the project:

  • Use MVP architectural pattern
  • Configure RESTFUL routes
  • Use the drivers to intercept user requests.
  • Use view templates for HTML with embedded data
  • Use asset channeling
  • Connect the database to the application
  • Use the active record as ORM
  • Use ActiveRecord validations
  • Pass user input from view through a controller to model securely
  • Remember about thin drivers and the distinction between levels of logic and presentation
  • Avoid the problem of n + 1 queries
  • Use unit tests (Rspec)
  • Deploy applications (Heroku)

📦 Built With

  • Ruby
  • Ruby on rails

🔍 Live Demo

Live Demo Link

💻 Getting Started

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

Download

  1. Clone the repository to your local machine
  $ git clone https://github.com/mcervantes71/Lifestyle_Articles.git
  1. cd into the directory
  $ cd Lifestyle_Articles

Setup

Install gems with:

  $ bundle install

Setup database with:

  $ rails db:create
  $ rails db:migrate

Populating the database with:

  $ rails db:seed

Usage

run localhost server:

  $ rails server

if presented with and Error message similar to this:

image

Run:

  $ yarn install --check-files

Testing

[Pre-requisite]

  $ gem install rspec
  1. cd into the directory
  $ cd Lifestyle_Articles
  1. Load the testing module
  $ rspec

testing_result

👥 Author

👤 Martin Cervantes

✏️ Design idea by Nelson Sakwa on Behance

🤝 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

It’s a real-world-like project, built with business specifications using the Ruby on Rails framework. Showing how to fully craft site's backend using the Model-View-Controller design pattern. Build with HTML5, CSS3 and Ruby on Rails.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published