This is a template for a monorepo with a React frontend and an Adonis backend. It uses pnpm workspaces to manage the monorepo.
- Clone the repo
git clone
- Install pnpm packages
pnpm install
- Start the development server
pnpm run dev
- Open http://localhost:3000 with your browser to see the React app.
- Open http://127.0.0.1:3333 with your browser to see the AdonisJS api.
├── apps
│ ├── front
│ ├── api
├── libs
│ ├── types
- The
apps
directory contains the React frontend and the AdonisJS api. Each app has its ownpackage.json
andtsconfig.json
files. - The
libs
directory contains shared code between the apps.