Please check if you have Docker, Docker Compose and Java 11 or same other version installed. PGAdmin is optional but quite helpful.
- Checkout the current version from GitHub
- Create yourself a project at Firebase Console, which is free for authentication
- In Firebase Console click on the cogwheel (left at the top) and select 'Project settings' (Projekteinstellungen) and within the screen on the tab 'Service accounts' (Dienstkonten).
- Create yourself a new private key and store this key in the root directory of your project (the one you checked out previously) in a file named 'adminsdk.json'
- Move to the tab 'General' (Allgemein) and copy the 'Project ID' (Projekt-ID) and 'Web API Key' (Web-API-Schlüssel)
- Create a file 'application-dev.properties' in the following directory of your project
src/main/resources
and replace data as follows:
firebase.project.id =Replace with your 'Project ID'
google_maps_api_key =Replace with your 'Web API Key'
firebase.credentials.path =./adminsdk.json
colivery.security.allowedOrigins =http://localhost:4200
liquibase.contexts =baseline non-prd sta
machbarschaft.cronjobSecret = topsecret
# logging.level.root =DEBUG
- Start the database, which is a dockerized version of PostgreSQL by running
docker-compose up -d
- assuming that you have Docker and Docker Compose installed. - Start the application by running these commands
# Builds the application with gradle
./gradlew clean assemble
# Runs the generated jar
java -jar -Dspring.profiles.active=dev,localdb,google_maps_api build/libs/service-api-ng-0.0.1-SNAPSHOT.jar
- Test if everything is up and running by opening this URL http://localhost:8080/v2/api-docs in a browser
- A connection to the database could be established via host
localhost
, port5432
and the database namecolivery
Get started
(Los gehts)
Sign-in methods
()
Sign-in providers
(Anbieter für Anmeldungen)
Email/Password
(E-Mail-Adresse/Passwort)
Enable
(Aktivieren)
Save
(Speichern)
Users
(Benutzer)
Add user
(Nutzer hinzufügen)
Email / Password
(E-Mail / Passwort)
User UID
(Nutzer-UID)