Skip to content

ronik-v/GeoTravelJournal_Backend

Repository files navigation

GeoTravelJournal_Backend

Java Spring Postgres Docker Nginx Swagger

EN

About the Project

This project is an API for saving user routes from a mobile application. It is implemented using Spring and is intended for educational and auxiliary purposes.

Running the Project

1. Creating the .env File

Before starting the application, create a .env file using .env.template as a reference. This file should contain all necessary environment variables.

2. Configuring nginx.conf

Replace server_name in the nginx.conf file with your domain.

3. Starting Containers

Use docker-compose to deploy all required containers:

docker-compose up -d

This will create containers for the database, application, and Nginx.

License

This project is distributed under the MIT license.


RU

О проекте

Данный проект представляет собой API для сохранения маршрутов пользователей из мобильного приложения. Реализован с использованием Spring и предназначен для учебных и вспомогательных целей.

Запуск проекта

1. Создание файла .env

Перед запуском приложения необходимо создать .env файл, используя .env.template в качестве примера. В этом файле должны быть определены все необходимые переменные окружения.

2. Настройка nginx.conf

Замените server_name в файле nginx.conf на ваш домен.

3. Запуск контейнеров

Используйте docker-compose для развертывания всех необходимых контейнеров:

docker-compose up -d

Это создаст контейнеры для базы данных, приложения и Nginx.

Лицензия

Проект распространяется под лицензией MIT.