Skip to content

FreelyForm V2 – Application web basée sur Next.js, MongoDB et Spring Boot pour créer des formulaires en ligne. Interface repensée, authentification Google, déploiement conteneurisé, et tests approfondis pour une sécurité et une scalabilité optimales.

Notifications You must be signed in to change notification settings

utbm/freelyforms-back

Repository files navigation

🚀 FreelyForm - Spring Boot Application with MongoDB

Powered by Java 21


🛠️ How to Run

Get the project up and running in just a few steps:

  1. Start the Dockerized application :
    docker compose up
  2. To use debugging mode or start the application locally:
    docker compose up mongo 
    Then run the application from your IDE.
  3. To start the application in production mode:
    docker-compose -f docker-compose.prod.yml up
  4. To run project in codespace : The container will build automatically and after completion, mongodb will ask for a connection, use this connection : mongodb://admin:pass@localhost:27017/freelyform?authSource=admin

After the connection is done launch project :

./mvnw package
 java -jar target/freelyform-0.0.1-SNAPSHOT.jar
🛠️ If you have a 502 error while visiting port 8080, put the port visibity to public.
🛠️ If you have a 403 error, it's working, it's just spring security blocking your way.

👩‍💻 For Developers

🔥 To connect as an admin

Information about admin login will show in red in the terminal when launching the app for the first time, the password will be shown only once. You can delete the current admin account if needed via the mongo express UI.


📊 Accessing MongoDB Data

Want to check or manipulate the data in your MongoDB instance? No problem! Simply head over to:

🌐 Mongo Express UI

This provides an easy-to-use interface for your database operations. 🗃️ Username: admin, Password: pass


📚 API Documentation

Dive into the API and interact with its endpoints seamlessly through Swagger UI! Explore, test, and experiment:

🔗 Swagger UI - API Documentation

Click the link to access the interactive documentation and start making requests directly from your browser! 🚀

About

FreelyForm V2 – Application web basée sur Next.js, MongoDB et Spring Boot pour créer des formulaires en ligne. Interface repensée, authentification Google, déploiement conteneurisé, et tests approfondis pour une sécurité et une scalabilité optimales.

Resources

Stars

Watchers

Forks

Packages

No packages published