datocms / remix-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

👉 Visit the DatoCMS homepage or see What is DatoCMS?

A Blog example using Remix and DatoCMS

This example showcases a Remix Blog using DatoCMS as the data source.

The purpose of this repo is to have a quick start reference that can be set up with the "one-click" button below.

Demo

Have a look at the end result live:

How to use

Quick start

  1. Create an account on DatoCMS.

  2. Let DatoCMS set everything up for you clicking this button:

Deploy with DatoCMS

Development

In your DatoCMS' project, go to the Settings menu at the top and click API tokens.

Then click Read-only API token and copy the token.

Next, copy the .env.example file in this directory to .env (which will be ignored by Git):

cp .env.example .env

Then set each variable on .env:

  • DATOCMS_READONLY_TOKEN should be the API token you just copied.

Your .env file should look like this:

DATOCMS_READONLY_TOKEN=

From your terminal:

npm run dev

This starts your app in development mode, rebuilding assets on file changes.


What is DatoCMS?

DatoCMS is the REST & GraphQL Headless CMS for the modern web.

Trusted by over 25,000 enterprise businesses, agency partners, and individuals across the world, DatoCMS users create online content at scale from a central hub and distribute it via API. We ❤️ our developers, content editors and marketers!

Quick links:

Our featured repos:

Or see all our public repos

About


Languages

Language:JavaScript 88.3%Language:CSS 11.7%