joozybrain / ecommerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ecommerce-simple-app

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

Requirements

For building and running the application you need:

Getting Started

Clone

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.

Screenshot

Usage

Enter the following url into your web brower:

http://localhost:8080

You will see the landing page of ecommerce simple app

Screenshot

You can upload a csv file

Screenshot

Search in the csv file

Screenshot

And finally list the contents of the file!

Screenshot

Roadmap

There are a few outstanding enhancements in which I will like to implement down the road:

  1. Improve exception handling for the following:

    • File upload
    • Runtime exception
  2. Out of memory heap exception on some machine when performing H2 saveall() function.

  3. Better file handling validation at front end.

  4. Improve search result pagination.

  5. Better searching criteria.

Copyright

Released under the Apache License 2.0. See the LICENSE file.

About

License:Apache License 2.0


Languages

Language:Kotlin 50.7%Language:HTML 49.3%