Skip to content

This repository contains the source of a Life Style Article app where users can publish articles and vote for other articles. Built using Ruby On Rails, Heroku, Bootstrap, Git, Rspec, HTML, and CSS.

Notifications You must be signed in to change notification settings

SajjadAhmad14/RoshanLife

Repository files navigation

Hireable

Roshan LIfe

This is an app where users can signup, publish articles and vote other articles.

In this project, we were required to build an article app where users can sign-up/sign-in/sign out, create articles, and vote other users's articles. The project enforced our skills in using most of the core functionalities of the Rails framework.


> The app is tested using RSpec for unit and integration tests

App functionality

  • Users can sign up/sign in/sign out by filling out the forms
  • Users can create articles
  • Users can vote articles
  • Admin user can create categories

Video presentation of the project here

Video about N+1 problem and its solutionhere

This web app is live, you can check it here: Live demo

Built With

  • Ruby on Rails
  • PostgreSQL
  • Bootstrap
  • Rails Active Storage
  • Fontawesome
  • Rspec
  • Capybara
  • Rubocop
  • VS Code
  • Google developer tools
  • Git and GitHub
  • Heroku
  • Cloudinary
  • A lot of love

Prerequisities

To get this project up and running locally, you must have ruby, Ruby on Rails and postgres installed on your computer.

Getting Started

To get this project set up on your local machine, follow these simple steps:

Step 1
Navigate through the local folder where you want to clone the repository and run
[email protected]:SajjadAhmad14/RoshanLife.git to clone the repo to your local folder.
or with https
https://github.com/SajjadAhmad14/RoshanLife.git.
Step 2
Run cd RoshanLife
Step 3
Run bundle install to install the gems from the Gemfile.
Step 4
Run yarn install to install the npm packages from the package.json file.
Step 5
Open .env file and add your credenatials for your postgres
POSTGRES_USER: example
POSTGRES_PASSWORD: password
Step 6
Run rails db:create and rails db:migrate to create and migrate the database tabels and associations.
Step 7
Run rails s to start the rails server.
Step 8
Now you can visit the app at http://localhost:3000.

Tests

  1. Open Terminal

  2. Run the tests with the command:

    rspec

Authors

👤 Sajjad Ahmad

🤝 Contributing

Our favourite contributions are those that help us improve the project, whether with a contribution, an issue, or a feature request!

Show your support

If you've read this far....give us a ⭐️!

📝 License

This project is licensed by Microverse and the Odin Project

Acknowledgement

About

This repository contains the source of a Life Style Article app where users can publish articles and vote for other articles. Built using Ruby On Rails, Heroku, Bootstrap, Git, Rspec, HTML, and CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published