spotify/backstage
Backstage is an open platform for building developer portals
repo name | spotify/backstage |
repo link | https://github.com/spotify/backstage |
homepage | https://backstage.io |
language | TypeScript |
size (curr.) | 13387 kB |
stars (curr.) | 2667 |
created | 2020-01-24 |
license | Apache License 2.0 |
Backstage
What is Backstage?
Backstage is an open platform for building developer portals.
The philosophy behind Backstage is simple: Don’t expose your engineers to the full complexity of your infrastructure tooling. Engineers should be shipping code — not figuring out a whole new toolset every time they want to implement the basics. Backstage allows you add “stuff” (tooling, services, features, etc.) by adding a plugin, instead of building a new tool. This saves you work and avoids the need of your team to learn how to use and support yet another tool.
For more information go to backstage.io
What problem does Backstage solve?
As companies grow, their infrastructure systems get messier. Backstage unifies all your infrastructure tooling, services, and documentation with a single, consistent UI.
This blog post provides more examples of how Backstage is used inside Spotify:
https://labs.spotify.com/2020/03/17/what-the-heck-is-backstage-anyway/
Project roadmap
We created Backstage about 4 years ago. While our internal version of Backstage has had the benefit of time to mature and evolve, the first iteration of our open source version is still nascent. We are envisioning three phases of the project and we have already begun work on various aspects of these phases:
-
🐣 Phase 1: Extensible frontend platform (now) - You will be able to easily create a single consistent UI layer for your internal infrastructure and tools. A set of reusable UX patterns and components help ensure a consistent experience between tools.
-
🐢 Phase 2: Manage your stuff (next 2-3 months) - Manage anything from microservices to software components to infrastructure and your service catalog. Regardless of whether you want to create a new library, view service deployment status in Kubernetes, or check the test coverage for a website – Backstage will provide all of those tools - and many more - in a single developer portal.
-
🐇 Phase 3: Ecosystem (later) - Everyone’s infrastructure stack is different. By fostering a vibrant community of contributors we hope to provide an ecosystem of Open Source plugins/integrations that allows you to pick the tools that match your stack.
Check out our Milestones and how they relate to the 3 Phases outlined above.
Our vision for Backstage is for it to become the trusted standard toolbox (read: UX layer) for the open source infrastructure landscape. Think of it like Kubernetes for developer experience. We realize this is an ambitious goal. We can’t do it alone. If this sounds interesting or you’d like to help us shape our product vision, we’d love to talk. You can email me directly: alund@spotify.com.
Overview
The Backstage platform consists of a number of different components:
- frontend - Main web application that users interact with. It’s built up by a number of different Plugins.
- plugins - Each plugin is treated as a self-contained web app and can include almost any type of content. Plugins all use a common set of platform API’s and reusable UI components. Plugins can fetch data either from the backend or through any RESTful API exposed through the proxy.
- backend * - GraphQL aggregation service that holds the model of your software ecosystem, including organisational information and what team owns what software. The backend also has a Plugin model for extending its graph.
- proxy * - Terminates HTTPS and exposes any RESTful API to Plugins.
- identity * - A backend service that holds your organisation’s metadata.
* not yet released
Getting started
To run the Backstage frontend, you will need to have the following installed:
Open a terminal window and start the web app using the following commands from the project root:
$ yarn install # may take a while
$ yarn start
The final yarn start
command should open a local instance of Backstage in your browser, otherwise open one of the URLs printed in the terminal.
(Optional)Try on Docker
Run the following commands if you have Docker environment
$ docker build . -t spotify/backstage
$ docker run --rm -it -p 80:80 spotify/backstage
Then open http://localhost/ on your browser.
Documentation
- FAQs
- Create a Plugin
- Structure of a Plugin
- Frontend architecture
- API references
- Using Backstage components (TODO)
Community
- Discord chat - Get support or discuss the project
- Good First Issues - Start here if you want to contribute
- FAQ - Frequently Asked Questions
- Code of Conduct - This is how we roll
- Give us a star ⭐️ - If you are using Backstage or think it is an interesting project, we would love a star ❤️
Or, if you are an open source developer and are interested in joining our team, please reach out to foss-opportunities@spotify.com
License
Copyright 2020 Spotify AB.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0