An e-commerce website built using JSP and Servlets a responsive web design that will be automatically adjusted for different screen sizes.
This software project was built using a layered architecture. The following diagram demonstrates an example use case that goes through all the layers.
- Registration and login
- Chat bot and chat with admin
- View products
- Filter products viewing by name nad category
- Updating user profiles
- Add to cart
- Add to wish list
- Purchase products via stripe
- Admin dash board
- Admin CRUD operations to products
- Maven
- ORM
- Servlets
- Jsp
- Docker
- Apache mail
- Bean Validation (Hibernate Validator)
- MapStruct
- Logback
- Lombok
- MySQL
- Stripe
Docker
- Go to the project root folder
- Packge the project using this command:
mvn clean package
- To create an image from docker file write this command:
docker image build -t amazonya .
- To run the project write the the following commands:
docker network create amazonya_network
docker run --name amazonya_db --network amazonya_network -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=amazonya -d mysql:8.0.28
docker container run --name amzonya_server --network amazonya_network -p 80:8080 -d amazonya