|
||
---|---|---|
api | ||
assets | ||
gui | ||
Jenkinsfile | ||
LICENSE | ||
README.md |
README.md
movie-archive
A simple archive to save movie information.
This repository contains:
- Quarkus RestAPI
- Vue.JS frontend
This project does not store any video files! Only the information about movies you have at home, for example.
Vue.JS frontend:
Quarkus backend:
This RestAPI handles all movie data.
You can add, remove, update and search movies.
Requirements
To start the backend you need docker or podman installed.
Setup
Run docker run -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:22 start-dev
to start Keycloak.
To set up the Keycloak realm, check out
the Quarkus documentation!
Live coding with Quarkus
Run ./mvnw quarkus:dev
to start Quarkus in dev mode.
Quarkus will set up the Postgres Database and import some demo data.
Swagger UI
Pls try the Swagger UI to get started with this API.
Building Quarkus with GraalVM
Run ./mvnw package -Pnative
to build the native application. This can take a few minutes!
Run docker build -f src/main/docker/Dockerfile.native-micro -t movie-api
to build the docker image.