Skip to content

froberge/user-service-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

User Service Mongodb

User service coded with Quarkus, using the Panache extension and connecting to a mongoDB database.

⚠️ Warning

The main branch contains only this README file. This repository is used as a placeholder for live coding sessions with Quarkus.

HOW-TO

Prerequisites
Build Step

Don't clone the project, generating the quarkus project will bootstrap your project.

Generate the quarkus project.

mvn io.quarkus:quarkus-maven-plugin:2.0.2.Final:create \
    -DprojectGroupId=com.thecat \
    -DprojectArtifactId=user-service-mongodb \
    -DclassName="com.thecat.user.endpoint.UserResource" \
    -Dpath="/users" \
    -Dextensions="resteasy,resteasy-jackson"

Add the required extensions for mongo-db panache

./mvnw quarkus:add-extension -Dextensions="mongodb-panache"

Add the required extension for Kubernetes config if needed

./mvnw quarkus:add-extension -Dextensions="Kubernetes-config"
Steps to create a feature branch on this repository.
  1. Track changes with git
git init -b <feature_branch_name>
  1. Add the remote repository to the newly generated project
git remote add origin https://github.com/froberge/user-service-mongodb.git
  1. Push changes to the remote repository
git push -u origin <feature_branch_name>

About

User service coded with Quarkus, using the Panache extension and connecting to a mongoDB database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages