Skip to content

This is the capstone project in the module of Ruby on Rails of the Microverse full stack developer program

License

Notifications You must be signed in to change notification settings

Flakster/Mountain-Style2

Repository files navigation

Mountain Style

This is a website based on the Lifestyle Articles design by Nelson Sakwa which contents are dynamically loaded through a web application from a database server. The project is intended to be created from scratch using the knowledge and techniques acquired in the HTML & CSS, Ruby, SQL Databases, and Ruby on Rails modules of the Microverse full-stack developer program and is completed as the capstone project of the Ruby on Rails module.

Screenshots

homepage categories-page

Built with

  • HTML5
  • CSS3
  • Font Awesome
  • Ruby on Rails
  • Postgresql
  • Ruby gems like devise, database_cleaner, rspec-rails

Prerequisites

  • Ruby: 2.7.0
  • Rails: 5.2.4
  • Postgres: >=9.5

Getting Started:

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

  1. Under the repository name, click the Clone or download green button.

clone

  1. Copy the URL given by clicking the clipboard button

  2. Open a terminal window in your local machine and change the current directory to the one you want the clone directory to be made.

  3. Type git clone and then paste the URL you previously copied to the clipboard

  4. Change the current directory to the newly created folder

  5. Install the ruby gems by running:

bundle install
  1. Setup database by running this:
  sudo -u postgres psql
  CREATE ROLE events WITH CREATEDB LOGIN PASSWORD 'pass123';

(Exit postgres console with \q)

  1. Make sure you have your yarn packages up to date. If not:
  yarn install --check-files
  1. Populate the database by running:
   rails db:create
   rails db:migrate
  1. Start your web server:
   rails server
  1. Open your web browser and go to localhost:3000

See a live demo Here

Watch a video with the presentation of the project Here

Potential future features

  • Upload custom images for the articles
  • Omniauth authentication with Github, Google and Facebook
  • Ajax updating for voting notification

Acknowledgments:

Show your support

Give a ⭐️ if you like this project!

License

This project is MIT Licensed

Author

👤 Carlos Santamaría

About

This is the capstone project in the module of Ruby on Rails of the Microverse full stack developer program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published