Skip to content

Example of Nx workspace with Spring Boot apps and libraries

License

Notifications You must be signed in to change notification settings

tschaffter/nx-spring-boot-example

Repository files navigation

Nx Spring Boot Example

GitHub CI GitHub License

Example of Nx workspace with Spring Boot apps and libraries generated using the Nx plugin @nxrocks/nx-spring-boot.

Requirements

Usage

Open the workspace in VS Code

Click on this badge to open the workspace in VS Code using our development container.

Open in Remote - Containers

If you plan to contribute to this project, please create a fork and use its URL for cloning. For more information on contributing and/or our Forking Workflow approach, see CONTRIBUTING.md.

git clone --depth 1 <repo url>

Then open your fork repo inside our devcontainer.

Prepare the workspace

Source dev-env.sh. This step can be skipped when working in the devcontainer.

. ./dev-env.sh

Install Node.js packages (after source):

workspace-install

Start the user service

nx serve awesome-user-service

This command:

  • builds the shared library libs/shared/util
  • installs the shared library so that it is visible to the user service (app/awesome-user-service)
  • builds the user service
  • serves the user service

License

Apache License 2.0

About

Example of Nx workspace with Spring Boot apps and libraries

Resources

License

Stars

Watchers

Forks