Mosaik

🚀 How to Clone & Run the Docs Locally

The Mosaik docs are powered by two repos:

🗂️ CMS: mosaik-cms — a Strapi backend (you can run this locally as well, if you need a CMS)

⚡ Frontend: Mosaik — a Next.js app that fetches content and renders themeable components.

To run the docs locally, you only need to clone the frontend and plug in the public Strapi API.

1️⃣ Clone the Next.js app

git clone https://github.com/SynTessera/Mosaik.git
cd Mosaik

2️⃣ Add your .env file Create a .env file in the root and paste in:

STRAPI_API=https://mosaik-cms-production.up.railway.app/api
NEXT_PUBLIC_STRAPI_BASE=https://mosaik-cms-production.up.railway.app
STRAPI_TOKEN=61914051cd1191eb556fa934ab7317c134551022d8f6d9412d7213ed3828ca7ee1896c08e0dd520a01d2702af2bcde243cce528449608c60e47f202f56ba824c550d6f8426c312e5e29651c61b9fa157274b88cc0beee8f06bd6c6d9e363acf9a5f9b7d5c6171e2c3d3bc47e0c2ec56d26bd09702ff55c911760deb46fa22ff5

✅ Note: This is a public, read-only token for local development.

3️⃣ Install & Run

yarn install
yarn dev

Visit http://localhost:3000 to see the docs running locally!

v0.0.1