Skip to content

twreporter/www-public-monorepo

Repository files navigation

www-public-monorepo

This is a monorepo for a web application, containing a Next.js frontend and a KeystoneJS CMS.

Tech Stack

Project Structure

The repository is structured as a monorepo with the following packages:

  • packages/cms: The KeystoneJS content management system.
  • packages/frontend: The Next.js frontend application.

Prerequisites

  • Node.js (version specified in .nvmrc if available, otherwise latest LTS is recommended)
  • Yarn

Getting Started

  1. Clone the repository:

    git clone <repository-url>
    cd www-public-monorepo
  2. Install dependencies: From the root of the project, run:

    yarn install

Development

You can run the frontend and CMS in separate terminals for development.

Running the CMS

To start the KeystoneJS development server:

yarn workspace www-cms dev

The CMS will be available at http://localhost:3000 (or as configured).

Running the Frontend

To start the Next.js frontend development server with Turbopack:

yarn workspace www-frontend dev

The frontend will be available at http://localhost:3001 (or the next available port if 3000 is taken by the CMS).

Scripts

  • yarn lint: Check for linting and formatting errors across the entire project.
  • yarn lint:fix: Automatically fix linting and formatting errors.
  • yarn build:frontend: Build the frontend application for production.
  • yarn version:bump: Create a new version of the packages using Lerna.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages