This is a Next.js project bootstrapped with
create-next-app
.
This project has been designed to support any data source, under the core/
folder you can find the models and service structure.
Contentful is the default integration supported at the moment, we also provided a setup script together with a schema to easily get it up and running.
This project uses Mudana to achieve the medium style blog.
$ git@github.com:maxigimenez/next-medium-blog-boilerplate.git
$ yarn install
This projects comes with a Contentful schema ready to be used. Using yarn setup:contentful
:
This command will ask you for a space ID, and access tokens for the Contentful Management and Delivery API and then import the schema defined on "schemas/contentful.json".
Once the script is done you will be able to launch the blog and see dummy information ready to be changed.
Run the project locally. Then open http://localhost:3000 with your browser to see the result.
The repository comes with a simple now.json
configuration, so we recommend to use Zeit.co to host the blog.