Author: Tim
F2N film service is created as a micro-service to main F2N Application. (Both of those are created with educational purposes). Main feature of the app is an API to work around films data from Unofficial Kinopoisk API
The project is developing with pure JAVA code using HTTP Servlets to build API, PostreSQL as database and Maven as a building tool. As well everything runs inside Docker containers.
- Clone repository
git clone https://github.com/NDragneelL9/film-2-night-film-service.git
- Change directory to
film-2-night-film-service
. Add.env
file based on.env.example
and build application.
cd film-2-night-film-service
# skipping tests because we have no docker containers running yet
mvn clean package -DskipTests
- Run docker container with docker-compose in detached mode (make sure all needed ports are free):
docker-compose up -d
- To run tests:
mvn test
- To apply changes:
# to apply servlet changes rebuild war file
mvn package
docker-compose restart
Just fork the repository from the develop branch, follow Getting started section, implement changes you want to propose and make a pull request. Also, there are issues in repository, feel free to submit a new one or participate in existing.