Skip to content

otto15/RaMarket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaMarket

Task for Yandex School of Backend

Overview

REST API Wev-Service for price comparison. Designed with JAVA (Spring Boot) and PostgreSQL.

Description

Service allows to work with ShopUnit entity: create, update, retrieve and get statistic.

Install & Run

Clone repository and install the project:

git clone https://github.com/otto15/RaMarket.git

Run service using docker:

Before running app create .env file following the example below.

DB_NAME=ramarket_db
DB_PASSWORD=postgres
DB_USER=postgres

Now 🏃

mvn clean install
docker-compose up --build

Without docker:

Be sure to create database for the service and change application.properties file (put your username, password, database name instead of bold parts of the code below).

spring.datasource.url=jdbc:postgresql://localhost:5432/YOUR_DATABASE_NAME?useSSL=false&&serverTimezone=UTC
spring.datasource.username=USERNAME
spring.datasource.password=PASSWORD

Ready. Set. Go.

mvn spring-boot:run

API Doc

The API documentation is available here.

About

Task for Yandex School of Backend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors