Skip to content

MaksimSzaszkow/PIS-Backend

Repository files navigation

Backend project for PIS (WUT)

This project was bootstrapped with Micronaut Launch

Scripts

./gradlew build

Builds development version of application

./gradlew run

Builds and runs development version of application on http://localhost:8000

You need to run this script again if there are any changes to the code.

./gradlew test

Launches the test runner and generates test raport with coverage information.

./gradlew nativeBuild

Creates executable of application optimized for production use.

Deploy to production server

Our production server is prepared for application deployment with the use of Jenkins job. You need to login into server (mion network -> virtual machine) and create port passthrough (or use ngrok) to access Jenkins web interface.

You also need to create ngrok url for frontend running on server, and change (or add) this url to cors allowed origins in src/main/resources/application.yml. Those changes need to be applied to "prezentacja" branch, and with ngrok still running you can start the Jenkins job.

After Jenklins job finishes, create ngrok url for backend connection, change url in frontend project to this url, build frontend project and you should be able to test application.

Micronaut 3.7.3 Documentation


Feature http-client documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages