Git Product home page Git Product logo

book_store's Introduction

Bookstore project

  • This is a fictional bookstore built by Khuong Mai

Description of the project

A client wants to build an online bookstore. The project includes two stages:

  • First stage: client wants a website can show all book information like: title, author, publisher, price, publication date. Books can be categorized by genres, popular, ... and users can search to find books

  • Second stage: they want the system can have features that users can search books, select desired books, view prices, and then order them. In addition, it can store information of customers: address, email, order history. (_ This feature has been unfinished yet_)

Database

  • Dataset: I used a crawling tool to grab a dataset stored in .db/book_store_dataset.csv. The data is grabbed from hullsbookstores.com - a local bookstore in Winnipeg, Canada. This data is only used for learning purpose.

  • This project uses sqlite to store data. All databases can be found at ./db

ERD diagram: ERD-diagram

Some features of this project:

  • A simple model
  • Model associations
  • Validations
  • Data sources (from hullsbookstores.com and from Faker gem)
  • Web navigation (about page and menu)
  • Data navigation (member pages, multi-model data, hierarchical collection, pagination, searching, markup and design with bootstrap)

Screenshot of this project

Screenshot-1

How to install?

  1. Git clone this project.
  2. bundle install
  3. rails db:migrate
  4. rails db:seed
  5. rails server -p 3000

Enjoy!!!

book_store's People

Contributors

khuongmai-dev avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.