Skip to content

a web application that supports CRUD operations and CSV export

Notifications You must be signed in to change notification settings

tdq45gj/inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopify Challenge

This project implements the backend APIs and a React frontend form for CRUD operations of items with an additional feature for generating CSV files.

Deployment

To install, first clone the source code from the GitHub Repository. Then cd into the root directory of the repository.

Docker

Docker is recommended to install the application. You might need to install docker-compose before running the following command. Run the following command to build and run the Docker images.

sudo docker-compose up

Manually

You can also install and run the application manually.

  • Build and run the backend
  1. cd to the project root directory
  2. mvn clean install
  3. java -jar target/Shopify-0.0.1-SNAPSHOT.jar
  • Build and run the frontend
  1. cd src/main/js from the project root directory
  2. npm install
  3. REACT_APP_API_BASE_URL=http://localhost:8080 npm start

Accessing Frontend and Backend

After deployment, the frontend is started at http://localhost:3000 and the backend at http://localhost:8080 by default. You can view and test a list of implemented APIs at http://localhost:8080/swagger-ui/.

Deployed Application

The implementation can be verified without installing anything. The application has already been deployed on a t2.micro type AWS EC2 instance. The instance is running Ubuntu 20.04 with 1 vCPU, 8GB storage, and 1GB memory. You can visit the application frontend at link. You can view and test a list of implemented APIs at link.

APIs

All available APIs are also listed at link.

About

a web application that supports CRUD operations and CSV export

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published