Open source drag and drop frontend CMS in NextJs. Completely customizable Pages, Templates & Widgets written in NextJs. Sling is an Open Source alternative to Builder.io.
- It's just React & NodeJs
- Control how your components are edited: With Sling.biz, you control the React widgets and their props from the Studio directly.
To properly set up Sling, you need:
- MongoDB URI: Make sure you have a MongoDB instance running and obtain its URI.
- Node.js: Ensure you have Node.js version 18 or greater installed.
To set up a Sling project locally using Hosted Studio, follow these steps:
-
Use the Installer:
- Create the Sling Frontend app by running the following command:
yarn create sling-app my-project
- Follow the prompts to configure your Sling app.
- Create the Sling Frontend app by running the following command:
-
Obtain Sling Studio Keys
- Visit Sling Studio to sign up to create an account.
- Complete the company setup.
- Navigate to your account settings or profile section.
- Locate the section for accessing or generating Sling Studio Keys.
- Copy the keys provided and update them in the
.env
file for the frontend app. - Voilà! You can now access your app at http://localhost:4087. !
-
Play around
- Access Sling Studio .
- Create custom widgets and use them in your page templates.
- Modify content from Studio and view the changes in your pages.
If you prefer to host Sling Studio on your local machine, follow these instructions. Sling consists of three main parts: Sling Studio, Sling API, and Sling FE.
-
Run the Installer:
- Use the installer to set up the Sling project by running the following command:
yarn create sling-app my-project
- Use the installer to set up the Sling project by running the following command:
-
Follow the prompts to configure your Sling app by picking self hosted option. The starter script will start the services in the background but you can close it and start on your own.
-
Open your browser and navigate to:
- Frontend:
http://localhost:4087
- Studio:
http://localhost:2021
- API:
http://localhost:10001
- Frontend:
If you have any questions or something you'd like to discuss (e.g., contributing or queries), please head over to our Slack channel.
Alternatively, you can raise a GitHub issue, or reach out directly to the author via Email or LinkedIn.