Skip to content

This is a website I built from scratch using Ruby on Rails. Users can write articles and attach images for that article. Users can also view articles written by other users and place a vote for that article if the user likes it. The Article with the most votes will be premiered as the main article.

Notifications You must be signed in to change notification settings

Paul-Clue/rails-lifestyle-magazine-capstone

Repository files navigation

Microverse Ruby On Rails Life Style Magazine Capstone

The app is based off of a life style article website. The theme of the site is electric cars. The app allows users to create accounts, login, create small articles, and cast votes for specific articles. The Article with the most votes becomes the featured article with full-width image and title in the first row of the page. The second row of the page displays the most recent articles written for a particular category.

Built With

  • Ruby v2.7.2
  • Ruby on Rails v6.1.3

Live Demo

Microverse Ruby On Rails Life Style Magazine Capstone

App Screenshot

Getting Started

Follow these simple steps to get the app working.

Prerequisites

Ruby: 2.6.3 Rails: 5.2.3 Postgres: 9.5

Setup

Install gems with:

bundle install

Setup database with:

   rails db:create
   rails db:migrate
   rails db:seed

Usage

Start server with:

    rails server

Open http://localhost:3000/ in your browser. When creating and article, please input a valid url for an image.

Run tests

    rpsec --format documentation

Author

👤 Paul Clue

🤝 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

MIT License

Copyright (c) 2021 Paul Clue

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

This is a website I built from scratch using Ruby on Rails. Users can write articles and attach images for that article. Users can also view articles written by other users and place a vote for that article if the user likes it. The Article with the most votes will be premiered as the main article.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published