Skip to content

szczygiel-m/PCBuilderShopApplication---Backend

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Pc Builder Shop

Website for buy components and build your PC.

View Demo (Not set up at the moment) · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Features
  4. Contributing
  5. License
  6. Contact

About The Project

Note that this project is in early development and mainly for learning purpose!

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.

Built With

Getting Started

To quickly run local PCBuilderShop server follow instructions bellow

MySQL setup

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

App secrets in file

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

Application

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.

Features

Implemented

  • Categories crud
  • User accounts crud
  • Items crud
  • JWT Token Authorization
  • Swagger
  • Searching items
  • Displaying items

Not fully implemented

  • Unit/e2e tests

Not implemented yet

  • Buying items
  • Email confirmation

See the open issues for a list of proposed features (and known issues).

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Mateusz Szczygieł - [email protected] - Mail

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages