-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
551 additions
and
802 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,21 @@ | ||
# Marketplace (Buy and sell cars) | ||
# eTachka Marketplace (Backend) | ||
|
||
This service allows you to buy and sell cars | ||
## The technologies used: | ||
[eTachka Marketplace](https://etachka-marketplace.space) is a web car marketplace. It is built using React for frontend and Java | ||
Spring Boot for backend. Designed and developed by a team joint at [TeamChallenge](https://teamchallenge.io). | ||
|
||
#### Front-End | ||
## How to run | ||
|
||
- React (Router, Redux) | ||
This section describes how to run the project locally. | ||
|
||
#### Back-End | ||
### Prerequisites | ||
|
||
- Java, Spring (Boot, Web MVC, Data JPA, Security), JWT, Lombok | ||
- PostgreSQL | ||
- Swagger | ||
- Docker | ||
Ensure you have the following installed on your local machine: | ||
|
||
- Java 17 | ||
- PostgreSQL 15 | ||
|
||
## Marketplace URL | ||
### Setting up the environment | ||
|
||
### Main page | ||
|
||
Server: https://etachka-marketplace.space/ | ||
|
||
Localhost: https://localhost | ||
|
||
### API | ||
|
||
Server: https://etachka-marketplace.space//swagger-ui/index.html | ||
|
||
Localhost URL: https://localhost/swagger-ui/index.html | ||
|
||
## Top 3 Contributors | ||
|
||
##### The following are currently working on this project | ||
|
||
### Back-End | ||
- [@ahasparian](https://github.com/arturhasparian) | ||
|
||
### Front-End | ||
- [@Yura-Platonov](https://github.com/Yura-Platonov) | ||
- [@LaPaNu4](https://github.com/LaPaNu4) | ||
Set up the required environment variables, and any optional ones you want to set. | ||
|
||
- DB_SOURCE – |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...ketplace/models/dto/AdvertisementDTO.java → ...ycar/marketplace/ad/AdvertisementDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/com/sellbycar/marketplace/ad/AdvertisementRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.sellbycar.marketplace.ad; | ||
|
||
import lombok.NonNull; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import java.util.List; | ||
|
||
public interface AdvertisementRepository extends JpaRepository<AdvertisementDAO, Long> { | ||
|
||
@NonNull List<AdvertisementDAO> findAll(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.