bookmart

Online Book shopping system class project using Ruby on Rails. Public copy of my NCSU class repo at: https://github.ncsu.edu/CSC-517-Spr23-Team-ashon-kajadhav/BookMart.git

https://github.com/kaushikjadhav01/bookmart

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: scholar.google, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Online Book shopping system class project using Ruby on Rails. Public copy of my NCSU class repo at: https://github.ncsu.edu/CSC-517-Spr23-Team-ashon-kajadhav/BookMart.git

Basic Info
  • Host: GitHub
  • Owner: kaushikjadhav01
  • License: mit
  • Language: CSS
  • Default Branch: main
  • Size: 4.45 MB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Created over 2 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

DOI License Code Coverage GitHub contributors Documentation Status GitHub release (latest by date) GitHub issues GitHub closed issues GitHub Repo Size GitHub last commit GitHub language count Commit Acitivity Code Size GitHub forks GitHub stars GitHub watchers

BookMart: Online Book Shopping System

Online Book Shopping System class project using Ruby on Rails, live at: http://bookmart.kajadhav.me <!-- TABLE OF CONTENTS -->

Table of Contents
  1. System Description and Functions
  2. Built With
  3. Installation
  4. Authors
  5. Links

System Description and Functions

Live Demo: http://bookmart.kajadhav.me
Demo Video:

Admin Creds:
Username: admin
Email Address: admn.bookmart@gmail.com
Password: Samplepass@123

There are two roles in the system: Admin and User.

Admin can:

  1. Create, Retrieve, Update Delete Books
  2. Create, Retrieve, Update Delete Users
  3. Create, Retrieve, Update Delete Reviews
  4. Buy Books
  5. Search Books
  6. Filter Books
  7. Check Transaction History of all users
  8. Add books to cart, update items in cart, remove items from cart
Users can:
  1. Buy Books
  2. Search Books
  3. Filter Books
  4. Create, Retrieve, Update Delete Reviews for the books they purchased
  5. Edit their own profile
  6. Check their own Transaction History
  7. Add books to cart, update items in cart, remove items from cart

Built With

Ruby on Rails Javascript mysql docker html css bootstrap

Installation

Local Setup

  1. Install Ruby 3.2.0.
  2. Clone repo, cd into it and run bundle install
  3. Run rails assets:precompile
  4. Run rails db:migrate
  5. Run rails db:seed to create admin user via seeding.
  6. Run rails s to start server.
  7. Go to localhost:3000 to access shop and cart functions.

Dockerized Setup

  1. Clone repo, cd into it
  2. Run sudo docker build -t app .
  3. Run sudo docker volume create app-storage
  4. Run sudo docker run --rm -it -v app-storage:/rails/storage -p 3000:3000 --name app -d app

Testing

After running local setup steps, run rspec --format doc to run tests for the model and controller. The test files run for RSpec are spec/controllers/reviews_controller_spec.rb and spec/models/book_spec.rb

Authors

Kaushik Jadhav

  • Github: https://github.com/kaushikjadhav01
  • Medium: https://medium.com/@kaushikjadhav01
  • LinkedIn: https://www.linkedin.com/in/kaushikjadhav01/
  • Portfolio: http://kajadhav.me/
  • Linked In: https://www.linkedin.com/in/kajadhav/
  • Dev.to: https://dev.to/kaushikjadhav01
  • Codesignal: https://app.codesignal.com/profile/kaushik_j_vtc
  • Google Scholar: https://scholar.google.com/citations?user=iRYcFi0AAAAJ
  • Daily.dev: https://app.daily.dev/kaushikjadhav01
  • Google devs: https://developers.google.com/profile/u/kaushikjadhav01
  • Stack Overflow: https://stackoverflow.com/users/21890981/kaushik-jadhav

Links

Owner

  • Name: Kaushik Jadhav
  • Login: kaushikjadhav01
  • Kind: user
  • Location: Raleigh, North Carolina, USA
  • Company: @microsoft, @ncstate-university, @browserstack

Incoming Cloud & AI SWE Intern @microsoft | MS CS Fall 2022 @ncstate-university | Ex-Software Engineer @browserstack | Applying my engineering skills to solve

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Jadhav"
  given-names: "Kaushik"
orcid: "https://orcid.org/0000-0000-0000-0000"
title: "BookMart"
version: 2.0.0
doi: 10.5281/zenodo.10498988
date-released: 2023-03-29
url: "https://github.com/kaushikjadhav01/BookMart"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1