An open API service indexing awesome lists of open source software.

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.

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)).