Skip to content

g-georgia/emotional-support-pet-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emotional Support Pet Store

Story

In Codecool we had a task to create a webshop of an arbitrary topic. We choose Emotional Support Pets, because we love animals and think that mental well-being and social support is very important. Please consider that this project was made only for practicing programming techniques. We highly respect animal rights and don't consider pets as products.

Technical details

We created a dynamic web page in Java with servlets. Database was not used, only in memory storage with DAO design pattern to store data. In order to get data from backend, Thymeleaf templating engine was used. This application does not apply security or login system.

The site

On the index page you can see the pets of the default category.

You can see title, description and price below the images.

You can filter the support pets by category or supplier.

You can put pets into your shopping cart, change the quantities, see the total price of your selected items.

After filling a pseudo payment form you also can view the order of your details.

The application also sends an e-mail to the given e-mail address with the order details.

Starting the application

This is a maven project, so pom.xml will install all the dependencies you need in order to run this application.

  1. To start the application run
mvn install

command in terminal in the root directory of the project.

  1. Set up the configuration in your IDE: to comman line field enter the jetty run command along with e-mail account credentials, which is used to send confirmation e-mail. In case your e-mail account applies 2-factor authentication, you need to create an Application Password for running this application.
jetty:run -Demail=<email> -Dpassword=<password>
  1. Start running the application and visit your http://localhost:8080/ to see the index page.

About

In Codecool we had a task to create a webshop of an arbitrary topic. During this project we practiced Java, servlets, HTML, Thymeleaf, DAO pattern & using Bootstrap.

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •