Giter Club home page Giter Club logo

internet-shop.vremere's Introduction

Project purpose

Implement an online store with basic functionality, fundamentally use JDBC technology to show how modern ORM frameworks work.

Project uses N-tier architecture with DB layer, DAO layer, Service layer, Controllers layer and View layer. This project has been developed according to SOLID principles with authorization and authentication(hashing and salt used) by RBAC filter strategy.

Project structure

REGISTRATION: standard registration procedure for a new user
LOGIN: if you have already registered, you can logging on this page

INJECT -> INJECT PRODUCTS: after registration and logging in as the new user, push "Inject Products" button to insert products at Data Base.
USER MENU -> PRODUCT: after Injecting products to the DB you can choose what product do you want to buy and push the button "ADD to CART"
USER MENU -> CART: in your shopping cart you can remove an unwanted product and click the button checkout
USER MENU -> ORDER: in your orders you can remove an unwanted order or looking for the details

INJECT -> INJECT ADMIN: push "Inject admin" button After this procedure you may login as Admin using "admin" as login and "admin" as password
USER ADMIN -> VIEW USERS: you can see all registered users at this moment
USER ADMIN -> VIEW ORDERS: you can see all orders of all users
USER ADMIN -> MANAGE PRODUCTS: you can remove an unwanted product from DB
USER ADMIN -> MANAGE PRODUCTS: you can create some product and add to DB

Technologies used

backend: Java, Servlets, Tomcat, JDBC
frontend: HTML, CSS, Bootstrap, JSP, JSTL
database: MySQL

Launch guide

  1. Download and install the JDK
  2. Download and install servlet container (for example Apache Tomcat)
  3. Download and install MySQL Server
  • Setup new connection with
    • user: "your username"
    • password: "your password"
    • url: jdbc:mysql://"your host name":"your port"/"your name db"?useUnicode=true&serverTimezone=UTC
  • Create schema internet_shop
  • Create tables using commands from init_db.sql under the path src/main/resources/

Dependencies

Author

Artem Vremere

internet-shop.vremere's People

Contributors

vremere-a 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.