Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

eCommerce Website

License

NotificationsYou must be signed in to change notification settings

BIP-TeamVN/eCommerceWebsite

Repository files navigation

javahtml5css3javascriptbootstrapjqueryapachemysql


GitHub contributorsGitHub issuesGitHub top languageGitHub repo sizeGitHub code size in bytesGithub total linesGitHub commit activityGitHub last commitGitHub release (latest by date)



Overview

  • Technical:JSP (JakartaServerPages) andServlet

  • Database:

    • Relational database management system :MySQL 5.7
    • Object-relational mapping :Hibernate 5.4.10.Final
    • Administrative units of Vietnam in database getfromGENERAL STATISTICS OFFICE OF VIETNAM
  • Front-end frameworks :

  • Design pattern :Model - View - Controller (MVC)

  • Integrated development environment (IDE) :IntelliJ IDEA 2020



Project Structure

eCommerceWebsite├── db│   ├── Database.sql                  (Script MYSQL create database)│   ├── ScriptInsert.sql              (Script MYSQL insert sample data)│   ├──vietnam-zone.xls              (Excel file contain Administrative units of Vietnam)├── src│   ├── main│   │   ├──java│   │   │   ├──com.hknp.controller│   │   │   │   └── api               (REST API)│   │   │   │   └── filter            (Servlet filter)│   │   │   │   └── common            (common controller for all user's page)│   │   │   │   └── admin             (controller for admin page)│   │   │   │   └── delivery          (controller for delivery page)│   │   │   │   └── employee          (controller for employee page)│   │   │   │   └── seller            (controller for seller page)│   │   │   │   └── web               (controller for guest & customer page)│   │   │   ├──com.hknp.interfaces│   │   │   ├──com.hknp.model│   │   │   │   └── dao               (data access object with singleton pattern)│   │   │   │   └── enity             (Entity Bean class)│   │   │   │   └── domain│   │   │   ├──com.hknp.utils│   │   ├──webapp│   │   │   ├──WEB-INF│   │   │   │   └───web.xml│   │   │   ├──assets│   │   │   │   └── css               (argon css && custom css)│   │   │   │   └── fonts             (nucleo font)│   │   │   │   └── img               (images)│   │   │   │   └── js                (custom javascript)│   │   │   │   └── vendor            (front-end frameworks)│   │   │   ├──common                (common components for all jsp page)│   │   │   ├──view│   │   │   │   └── admin             (contain admin pages)│   │   │   │   └── delivery          (contain delivery pages)│   │   │   │   └── employee          (contain employee pages)│   │   │   │   └── seller            (contain seller pages)│   │   │   │   └── web               (contain guest & customer pages)│   │   │   ├── index.jsp             (redirect to /home)└──pom.xml                           (Acronym for Project Object Model)


How to run

Please set environment variables for SMTP mail before run.

VariablesRequireDescriptionDefault
SMTP_HOSTThe SMTP server to connect tosmtp.gmail.com
SMTP_PORTThe SMTP server port to connect to, if the connect() method doesn't explicitly specify one587
SMTP_USERNAMEUsername for SMTP Authenticator
SMTP_PASSWORDPassword for SMTP Authenticator
SMTP_ADDRESSEmail address to use for SMTP MAIL command. This sets the envelope return address

If use Tomcat on window, set environment variables by add this line below to file setenv.bat

set "SMTP_USERNAME=<YOUR_SMTP_USERNAME>"set "SMTP_PASSWORD=<YOUR_SMTP_PASSWORD>"set "SMTP_ADDRESS=<YOUR_SMTP_PASSWORD>"

[8]ページ先頭

©2009-2025 Movatter.jp