A Quarkus / MongoDB app for educational purposes https://clientserveur-courses.clubinfo-clermont.fr/Notation.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alexis Drai a0deff9938
🗃️ 👔 Add services, repos, entities, controllers (#2)
2 years ago
docs 📝 Add some initial documentation (#1) 2 years ago
gradle/wrapper 🎉 Begin project 2 years ago
src 🗃️ 👔 Add services, repos, entities, controllers (#2) 2 years ago
.dockerignore 🎉 Begin project 2 years ago
.gitignore 🎉 Begin project 2 years ago
README.md 📝 Add some initial documentation (#1) 2 years ago
build.gradle 🎉 Begin project 2 years ago
gradle.properties 🎉 Begin project 2 years ago
gradlew 🎉 Begin project 2 years ago
gradlew.bat 🎉 Begin project 2 years ago
settings.gradle 🎉 Begin project 2 years ago

README.md

PoKeMoNg

A Quarkus / MongoDB app for educational purposes.

Instructions here.

About

This application is a RESTful service designed to emulate a 'Pokemong' management system. It allows users to perform CRUD operations on 'Pokemongs'.

The application is developed using the Quarkus framework and uses MongoDB as its database.

Prep steps

♨️ Java version

  • Run locally from terminal

This project should be configured to run on JDK 17. That means you should have JDK 17 installed locally, and accessible to Gradle.

  • Run from IDE

Moreover, if you're planning to run this app directly from an IDE like IntelliJ, make sure to update the Gradle JVM setting to use JDK 17 for Gradle tasks

🔐 Database connection

Note that the DB connection properties are not included -- your src/main/resources/application.properties should look like this :

quarkus.mongodb.connection-string=mongodb+srv://<username>:<password>@<cluster>.<node>.mongodb.net
quarkus.mongodb.database=<database>

If you are the corrector

To be able to use this app, update application.properties with the provided database secrets.

If none were provided, that was a mistake. Sorry. Please request them to the owner of this repo.

If you are not the corrector

To be able to use this app, first create a MongoDB database, either locally or on their Atlas Cloud, then update application.properties with your database secrets. You may want to look up the nice MongoDB official documentation if you get stuck.

Running the application in dev mode

You can run the application in dev mode using:

./gradlew quarkusDev