create-sling-app v1.4.9
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.
✨ Features :fire:
- 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.
🛠️ Prerequisites
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.
🚀 Setting up Sling - Hosted Studio
To set up a Sling project locally using Hosted Studio, follow these steps:
Frontend App Setup
- 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.
🌐 Setting up Sling - Self Hosted Studio
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:
📚 Docs
🙋 Getting Help :wave:
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.
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago