Skip to content

This project is a webapp where users can register only by providing a username. A login user can create articles & vote articles.

Notifications You must be signed in to change notification settings

GzimAsani/Lifestyle-e

Repository files navigation

LifeStyle Articles

  • This is rails capstone project where demonstrates my skills of RubyOnRails module. This project is a webapp where users can register only by providing an username. A login user can create articles & vote articles. Categories cannot be created but I am thinking to improve this app and add the admin user which can edit/delete
    other users articles and create new categories

Table of Contents

Built With

This project was built using these technologies.

  • Ruby & Ruby on Rails
  • Rspec / Capybara
  • Bootstrap
  • HTML / CSS / SCSS
  • SQLite
  • Bcrypt
  • Rubocop
  • PG

Live demo

Getting Started

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

Prerequisites

Ruby: 2.7.2 Rails: 6.0.3.4

Clone

  • clone this repo:
    • Clone with SSH:
      [email protected]:hemant-soni-vst-au4/Lifestyle_articles.git
    
    • Clone with HTTPS
     https://github.com/hemant-soni-vst-au4/Lifestyle_articles.git
    
    

Setup

Install gems with:

$ bundler install --without production

Setup database with:

$ rails db:migrate

To have some categories ready run

$ rails db:seed

Run yarn

$ yarn

Usage

Start server with:

$ rails server

Open http://localhost:3000/ in your browser and sing in

  • for any technical problems running rails db:migrate:reset && rails db:seed should solve the problem

Automated Test

  • Run the command and see the output: $ rails test

Database Structure

  • Database schema used for this project reflects the following structure: erd

Author

👤 Gzim Asani

🤝 Contributing

Contributions, issues and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Credits

Copyright

This is a project developed by Microverse Student as the part of skill curriculum.

About

This project is a webapp where users can register only by providing a username. A login user can create articles & vote articles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published