A simple app in which you can perform the following:
- Upload a csv file.
- List the details of the csv file.
- Search the details of the csv file.
It is based on the following technologies:
- Spring Boot / Spring Webflux
- H2 in-memory database
- Thymeleaf templates
- Bootstrap / JQuery
For building and running the application you need:
To get started you can simply clone this repository using git:
git clone https://github.com/joozybrain/ecommerce.git
cd ecommerce
You can run the application from the command line using:
mvnw spring-boot:run
Once you have seen the message below, the spring boot application has completed its startup and you can access the application using your web browser.
Enter the following url into your web brower:
http://localhost:8080
You will see the landing page of ecommerce simple app
You can upload a csv file
Search in the csv file
And finally list the contents of the file!
There are a few outstanding enhancements in which I will like to implement down the road:
-
Improve exception handling for the following:
- File upload
- Runtime exception
-
Out of memory heap exception on some machine when performing H2 saveall() function.
-
Better file handling validation at front end.
-
Improve search result pagination.
-
Better searching criteria.
Released under the Apache License 2.0. See the LICENSE file.