This repository contains the source code for the Railway blog. It is a Next.js app powered by the internal Railway CMS.
- Next.js
- TypeScript
- Tailwind CSS
- Railway CMS REST API
The blog reads published posts and visible categories from https://cms.railway.com/api.
Required local environment:
CMS_API_KEY=...Optional local environment:
CMS_API_URL=https://cms.railway.comThe CMS API key must stay server-only. Do not expose it through a NEXT_PUBLIC_* variable.
- Make sure you have
yarn. - Run
yarn install. - Add
CMS_API_KEYto.env.local. - Run
yarn dev.