This project implements the backend APIs and a React frontend form for CRUD operations of items with an additional feature for generating CSV files.
To install, first clone the source code from the GitHub Repository. Then cd
into the root directory of the repository.
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
You can also install and run the application manually.
- Build and run the backend
cd
to the project root directorymvn clean install
java -jar target/Shopify-0.0.1-SNAPSHOT.jar
- Build and run the frontend
cd src/main/js
from the project root directorynpm install
REACT_APP_API_BASE_URL=http://localhost:8080 npm start
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/.
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.
All available APIs are also listed at link.