Giter Club home page Giter Club logo

vegetable-store's Introduction

Vegetable Store (Java Web Application Development Assignment)

๐Ÿ’ก Introduction

The Vegetable Store specializes in providing fresh and clean vegetables every day, making it easy for customers to buy fresh vegetables in a hustle life. And more especially during this COVID 19 pandemic.

๐Ÿ‘‹ Background

Individual Assignment for Java Web Application Development (PRJ301) subject at FPT University.

โš™๏ธ Technology

  • Front End
    • Bootstrap 5
    • JSTL - Standard Tag Library for JSP
  • Backend
    • Servlet - Java programming language class that is used to extend the capabilities of servers
    • JDBC - A Java API to connect and execute the query with the database
    • MS SQL - A relational database management system developed by Microsoft

๐ŸŒฟ Preview images


ย 

ย 

ย 

ย 

ย 

ย 

ย 


๐Ÿƒโ€โ™‚๏ธ How to run project

  • To run this project, you should use Netbeans IDE (especially version 12.4) to run easily, another IDE like IntelliJ, Eclipse,... You need to find the way to config this project before using.
  • After import project to IDE, please import JSTL Library and external library from lib folder.
  • At src\java\sendemail\SendEmail.java file, you need to change this code into your email and password to use Send Email function.
    String myAccountEmail = "YourEmail";
    String password = "YourEmailPassword";
  • After that, you click here, sign in with the gmail account you have entered above (if you haven't logged in yet), scroll down to Less secure app access and turn it ON
  • At web\META-INF\context.xml file, you need to config as below:
<Context path="/VegetableStore">
    <Resource name="DBCon" auth="Container" type="javax.sql.DataSource"
              username="YourDBUser(Change it)" password="YourDBPassword(Change it)"
              driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
              url="jdbc:sqlserver://localhost:1433;databaseName=VegetableStore">
    </Resource>
</Context>
  • Set up database by running the script.sql file in database folder.
  • Finally, let's try to go shopping ๐Ÿ›’

โš ๏ธ Note

  • To use Admin role with this project, please login with username: [email protected]; password: 1
  • To use User role with this project, please login with username: [email protected]; password: 1 or use Sign up to create account.

License & copyright

ยฉ Tung Nguyen | Licensed under the MIT LICENSE.

vegetable-store's People

Contributors

ngthanhtuung avatar

Watchers

 avatar

Forkers

banhquydev

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.