Skip to content

Shortcuts ๐Ÿ”‘

Nikolas Rauscher edited this page Jun 3, 2024 · 3 revisions

Tip

This project includes several shortcuts to streamline the development process.

Starting the Development Environment from the Root Directory

To build and run the development environment (backend and frontend at the same time), you can run the following command in the root directory of the project:

make build-dev

Important

To stop the development environment (frontend and backend), press Ctrl + C to stop the npm server and run the following command:

make stop-dev

Separately Starting the Components

If you want to start the components separately, you can use the prefix make backend-<command>/make frontend-<command> for the separate backend and frontend commands or by navigating to the respective directories and running the Makefile commands.

Start only the frontend:

make frontend-build-dev

Example to start the backend separately:

make backend-build-dev

Note

You can run backend commands using the following format:

make backend-<command>

Example: To run the tests in the backend:

make backend-tests

Or navigate to the backend directory and run the command:

cd Project/backend
make build-dev

Example to start the frontend separately:

cd Project/frontend
make start-dev

Show Help

Note

You can always run the following command to see the available commands:

make help