MiguelDP4 / real-articles

Real articles is a web application where users can register and write their own articles. Logged-in users can also vote for articles, and highest ranked articles are showcased. Built with Ruby and Ruby on Rails.

Home Page:https://real-articles-demo.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real Articles

Real articles is a web application in which users can register and write their own articles. The articles can be voted up if the user has an account and the most voted articles ar showcased in each or their categories. Non registered users are unable to create articles or vote for them, but they can still read other people's articles.

Built With

  • Ruby 2.7.0
  • Ruby on Rails 6.0.3

How to deploy

To deploy the project on your local machine, follow these steps:

  • First, create the database using rails db:create
$ rails db:create 
  • Finally, migrate the database using rails db:migrate
$ rails db:migrate 
  • To seed the database with the necessary categories on the category table, there's some records already created, so run the seed file by running the command rails db:seed. If the app is in the development environment, it also seed mock users, articles and votes.
$ rails db:seed 
  • Finally, run the server on your local computer, and the application is ready to run.
$ rails server

Author

👤 Miguel Dubois

Live Demo

You can check a demo version of the project in this link.

Demo images

Home Page

Article Page

Search article by category page

Create New Article Page

🤝 Contributing

This project is for learning purposes only, I wont accept contributions, though suggestions are welcome.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • I thank microverse for this learning opportunity.

About

Real articles is a web application where users can register and write their own articles. Logged-in users can also vote for articles, and highest ranked articles are showcased. Built with Ruby and Ruby on Rails.

https://real-articles-demo.herokuapp.com/


Languages

Language:Ruby 91.1%Language:HTML 6.8%Language:SCSS 1.1%Language:JavaScript 0.9%Language:CSS 0.2%