1.1 KiB
example-backend
This package is an EXAMPLE of a Backstage backend.
The main purpose of this package is to provide a test bed for Backstage plugins that have a backend part. Feel free to experiment locally or within your fork by adding dependencies and routes to this backend, to try things out.
Our goal is to eventually amend the create-app flow of the CLI, such that a production ready version of a backend skeleton is made alongside the frontend app. Until then, feel free to experiment here!
Development
To run the example backend in watch mode, use
AUTH_GOOGLE_CLIENT_ID=x AUTH_GOOGLE_CLIENT_SECRET=x SENTRY_TOKEN=x yarn start
in the backend directory. Substitute x for actual values, or leave them as
dummy values just to try out the backend without using the auth or sentry features.
You may have to issue a yarn build command in the project root before doing
this for the first time.