Kick off your project with this blog boilerplate. This starter ships with the main Next JS configuration files you might need to get up and running blazing fast with the blazing fast app generator for React. Check our live demo: https://flotiq-nextjs-blog.netlify.app
git clone https://github.com/flotiq/flotiq-nextjs-blog-1 flotiq-nextjs-blog-1
Import example data from starter to Flotiq
npm i -g flotiq-cli
cd flotiq-nextjs-blog-1
flotiq import . [flotiqApiKey]
Note: You need to put your Read and write API key as the flotiqApiKey
for import to work, You don't need any content types in your account.
The next step is to configure our application to know from where it has to fetch the data.
Copy .env.dist
as .env.local
cp .env.dist .env.local
and add api key's:
FLOTIQ_API_KEY=YOUR FLOTIQ API KEY
GA_TRACKING_ID=YOUR GA API KEY
Install dependencies
Navigate into your new site’s directory and run
yarn install
Navigate into your new site’s directory and start it up.
yarn dev
Your site is now running at http://localhost:3000
!
Open the flotiq-nextjs-blog-1
directory in your code editor of choice and edit pages/[pages].js
. Save your changes and the browser will update in real time!
You can now easily manage your content using Flotiq editor
Deploy this starter with one click on Vercel:
You can also deploy this project to Heroku in 3 minutes:
Or to Netlify:
Looking for more guidance? Full documentation for Next.js lives on the website. Here are some places to start:
- To dive straight into code samples, head to the Next.js documentation. In particular, check out the Guides, API Reference, and Advanced Tutorials sections in the sidebar.
If you wish to talk with us about this project, feel free to hop on our .
If you found a bug, please report it in issues.