Website for buy components and build your PC.
View Demo (Not set up at the moment)
·
Report Bug
·
Request Feature
This is backend part of Pc Builder Shop Application.
Pc Builder Shop Application help users to improve their PC's by selling parts and buying a new one.
If you want to see frontend code go here.
To quickly run local PCBuilderShop server follow instructions bellow
Check the MySQL site to learn how to create your own local server. documentation Then in resources add application.yaml file with a setup for your own database. It should look like this
spring:
datasource:
url: ULR_TO_YOUR_DB
username: root
password: password
driverClassName: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
Application to work needs various secrets like jwt token secret key. In root folder of project update application.yaml file, and paste bellow code with your own values to this file like this.
application:
jwt:
secretKey: 'my_own_very_secret_and_very_very_long_key_for_providing_very_very_secure_jwt_tokens'
tokenPrefix: 'Bearer '
tokenExpirationAfterHours: 48
To download the latest .jar stable version of server go to releases page. Otherwise, if you want, you can download code from any branch (be carefully, there is no guaranty that this code will run or compile without problems). Just simply clone repo to your IDE and run it.
- Categories crud
- User accounts crud
- Items crud
- JWT Token Authorization
- Swagger
- Searching items
- Displaying items
- Unit/e2e tests
- Buying items
- Email confirmation
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Mateusz Szczygieł - [email protected] - Mail