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)
- Ruby
- Ruby on rails
To get a local copy up and running follow these simple steps.
- Clone the repository to your local machine
$ git clone https://github.com/mcervantes71/Lifestyle_Articles.git
- cd into the directory
$ cd Lifestyle_Articles
Install gems with:
$ bundle install
Setup database with:
$ rails db:create
$ rails db:migrate
Populating the database with:
$ rails db:seed
run localhost server:
$ rails server
if presented with and Error
message similar to this:
Run:
$ yarn install --check-files
[Pre-requisite]
$ gem install rspec
- cd into the directory
$ cd Lifestyle_Articles
- Load the testing module
$ rspec
👤 Martin Cervantes
- Linkedin: Martin Cervantes
- Twitter: @M4rt1nC3rv4nt3s
- Github: @mcervantes71
- Gmail: cervantes.martine
✏️ Design idea by Nelson Sakwa on Behance
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.