π’ Code Status β’ β¨ Features β’ ποΈ Architecture β’ π¦ Installation β’ π± Technologies Stack β’ π· Screenshots β’ π Docs
-
Easily view and search market items
-
Automaticly make trades on one click
-
Manage inventory and wallet funds
-
Track personal order history
-
Fast load public images and secured user images
-
Clone the repository.
-
Make sure you have Terraform installed and provided IAM credentials to authenticate the Terraform AWS provider.
-
Change directory to
infrastructure/aws_resorces/. -
Run next two commands to generate required Cloudfront key group keys.
openssl genrsa -out private_key.pem 2048 openssl rsa -pubout -in private_key.pem -out public_key.pem- Run
terraform initthenterraform apply --auto-aproveto provision S3 and Cloudfronts on AWS.
-
Make sure you have docker installed and running. You will also need docker-compose.
-
Change directory to
infrastructure/ -
Fill out the values in the
.envfile with outputs from terraform provisioned resorces. -
Run
docker-compose up. This should build the docker image and start the container and Postgres DB running. -
Head over to http://localhost:8080/docs (or a different port if you changed it) to make sure that backend Spring Boot application is running.
-
Open Spring Boot application in your IDE located in
items-marketplace/ -
Set environment variables:
APP_PORTHTTP_PORTSSL_PASSWORDPOSTGRES_DB_URLPOSTGRES_DB_USERNAMEPOSTGRES_DB_PASSWORDFRONTEND_URLSTRIPE_SECRET_KEYSTRIPE_ENDPOINT_SECRETJWT_SECRET(generate encryption key)S3_BUCKET_NAME(terraform output)CLOUDFRONT_DOMAIN_PUBLIC(terraform output)CLOUDFRONT_DOMAIN_PRIVATE(terraform output)KEY_PAIR_ID(terraform output)PRIVATE_KEY_NAME(terraform output)
-
Execute the main method in the
me.darkovrbaski.items.marketplace.ItemsMarketplaceApplicationclass. -
Head over to http://localhost:8080/docs (or a different port if you changed it) to make sure that backend Spring Boot application is running.
-
Change directory to
angular-app/. -
Install the dependencies
npm install. -
Run the Angular application
npm start. -
Head over to http://localhost:4200/ and feel free to register and explore the application.
πΌ Back to top










