https://github.com/liveduo/destack-starter
Starter template for Destack - the visual page builder for Next.js.
https://github.com/liveduo/destack-starter
landing-page nextjs nextjs-template reactjs template
Last synced: over 1 year ago
JSON representation
Starter template for Destack - the visual page builder for Next.js.
- Host: GitHub
- URL: https://github.com/liveduo/destack-starter
- Owner: LiveDuo
- Created: 2021-04-28T12:02:26.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T23:58:48.000Z (almost 2 years ago)
- Last Synced: 2025-03-29T17:11:09.010Z (over 1 year ago)
- Topics: landing-page, nextjs, nextjs-template, reactjs, template
- Language: HTML
- Homepage: https://github.com/LiveDuo/destack
- Size: 150 KB
- Stars: 39
- Watchers: 3
- Forks: 95
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Destack Starter
This example shows a very basic version of a *Destack* project with Next.js.
- There's one page, `pages/index.js`, that shows the visual editor (in development) and the compiled version (in production).
- All the magic is done in, `pages/api/builder/handle.js`, that has to be setup once and handles templates saving and loading.
## Deploy your own
Deploy the example using [Vercel](https://vercel.com) or preview in Gitpod:
[
](https://vercel.com/new/git/external?repository-url=https://github.com/LiveDuo/destack-starter&project-name=destack-starter&repository-name=destack-starter)
[
](https://gitpod.io/#https://github.com/LiveDuo/destack-starter)
## How to
#### Development
Clone this repository:
```sh
git clone https://github.com/liveduo/destack-starter
```
Install dependencies:
```sh
npm i
```
Run in development:
```sh
npm run dev
```
#### Production
Build for production:
```sh
npm run build
```
Run in production:
```sh
npm start
```
Deploy it to the cloud with [Vercel](https://vercel.com/new) ([Documentation](https://nextjs.org/docs/deployment)).