Click here to see PPT, Video and Credentials of the project.
CREATE DATABASE a2zstore;
Change datasource username and password in this file:
spring.datasource.username={username}
spring.datasource.password={password}
Change PayPal credentials:
paypal.client.id={paypal id}
paypal.client.secret={paypal secret}
Change Twilio credentials:
twilio.acc.sid={twilio sid}
twilio.acc.token={twilio token}
twilio.acc.phno={twilio ph.no}
Change Gmail Credentials:
email={Gmail Id}
password={Gmail Password}
(Do below step, only if created new spring starter project and copied source folder alone to your project)
Copy the dependencies of pom.xml
Run the application in STS (Spring Tool Suite) IDE as a Spring Boot App
Open localhost:8080/
in browser
The application have two types of users:
Email: admin@a2z.app
Password: admin@a2z
Email: testuser@a2z.app
Password: testuser@a2z
Some products will be added by default into the database from the products.csv
file in src/main/resources/
folder.
You can disable these by commenting MyCommandLineRunner
class in src/main/java/com/SpringA2ZStoreApplication
file