Code Monkey home page Code Monkey logo

cs3380_final_project's Introduction

CS3380_Group-Project

CS 3380 Group Project- Online Book Order System

Please visit our Book Order System application at this url:http://jiacong.rf.gd/login.php

World Book



Team Members


  • Jianli Huang
  • Jiacong Ma

Description of Application


An easier way to figure out which kind of book you want to read next

  • This is a website for a Book Store. This website couold lets customers to view different category of book and allows store manger to add, delete and update books. In home page, viewer will be asked to login as manger or view as customer.

  • The customer version can see the list of book from 5 different categories of book with pictures and leave the comment about the book.

  • The manager version can login to the website, add books, delete the books and update books information. Manager could also add a new catergory of book.  

The Schema For the Database (The Table Definitions)


  1. Arts
" CREATE TABLE WorldBook.Arts (
"  id int NOT NULL AUTO_INCREMENT  PRIMARY KEY,
"  Name varchar(35) NOT NULL,
"  Price int(11) DEFAULT NULL,
"  Stock int(35) DEFAULT NULL
"  );
  1. Biographies
" CREATE TABLE WorldBook.Biographies (
"  id int NOT NULL AUTO_INCREMENT  PRIMARY KEY,
"  Name varchar(35) NOT NULL,
"  Price int(11) DEFAULT NULL,
"  Stock int(35) DEFAULT NULL
"  );
  1. Business
" CREATE TABLE WorldBook.Business (
"  id int NOT NULL AUTO_INCREMENT  PRIMARY KEY,
"  Name varchar(35) NOT NULL,
"  Price int(11) DEFAULT NULL,
"  Stock int(35) DEFAULT NULL
"  );
  1. Comics
" CREATE TABLE WorldBook.Comics (
"  id int NOT NULL AUTO_INCREMENT  PRIMARY KEY,
"  Name varchar(35) NOT NULL,
"  Price int(11) DEFAULT NULL,
"  Stock int(35) DEFAULT NULL
"  );
  1. Literature
" CREATE TABLE WorldBook.Literature (
"  id int NOT NULL AUTO_INCREMENT  PRIMARY KEY,
"  Name varchar(35) NOT NULL,
"  Price int(11) DEFAULT NULL,
"  Stock int(35) DEFAULT NULL
"  );

Explanation of Where the App is doing create, read, update, insert, delete and drop


  • Create

    1. Create new category of book, for example "History", "Teen".
      -Create a new table by getting table name from input of user.

    http://jiacong.rf.gd/createnewtable.php   This step is creating a new table in our database.      

  • Read

    1. Read Name, Price, Author , Stock by manager from one table.
    2. Read Name, Price, Author , Stock by customer from one table.
    3. Display all books from 5 categories by manager.
    4. Display all books from 5 categories by customer. -Select table and display it by getting table name from input of user.

    http://jiacong.rf.gd/index.php This step is using select sql to get result from database and display result

  • Insert

    1.Add a new book of a category. -Create new book by getting input 'Name', 'Price', 'Author' and 'Stock' of user.

    http://jiacong.rf.gd/book_form.php This step is inserting new data into a table of database.

  • Update

    1. Change price of a book in certain category.
    • Change the price of a book in a table by getting input new price and book id from user.

    http://jiacong.rf.gd/book_form_update.php   This step is updating 'Price' data for a specific dish id in table of database.

  • Delete

    1. Delete a book inside a catergory table.
    • Delete a book by getting input book 'Name' from user.

    http://jiacong.rf.gd/book_form_delete.php This step is delete specific data in a table of database.

  • Drop

    1. Drop a category of book in manager version.
    • Drop a table by getting input of table name from user.

    http://jiacong.rf.gd/deletetable.php This step is dropping a specific table of database.

Entity Relationship Diagram (ERD)

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.