action.skip

Starting new Next.js project with Flotiq CLI

To start a new Next.js project with Flotiq CLI you need a Flotiq account (you can register here) and your "Read and write API key" (more about API keys here).

The command looks like this:

flotiq start [projectName] [flotiqStarterUrl] [flotiqApiKey]

After running the command, you should have a new project cloned with installed dependencies, data imported to your Flotiq account and started server with the project.

Parameters

projectName - project name or project path (if you wish to start or import data from the current directory - use .)

flotiqStarterUrl - full link to Next.js starter, the list below

flotiqApiKey - API key to your Flotiq account

NextJs Starters

Import example data

If you have cloned one of Next.js starters, you can import example data.

The command looks like this:

flotiq import [projectName] [flotiqApiKey]

After running the command, you should have data imported to your Flotiq account.

Parameters

projectName - project name or project path (if you wish to start or import data from the directory you are in, use .)

flotiqApiKey - API key to your Flotiq account