https://github.com/ctrlplusb/cra-monorepo
Example of a now 2.0 monorepo containing Create React App and Node Lambdas
https://github.com/ctrlplusb/cra-monorepo
Last synced: 9 months ago
JSON representation
Example of a now 2.0 monorepo containing Create React App and Node Lambdas
- Host: GitHub
- URL: https://github.com/ctrlplusb/cra-monorepo
- Owner: ctrlplusb
- Created: 2019-05-10T12:51:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T01:50:52.000Z (about 3 years ago)
- Last Synced: 2025-03-12T18:01:45.261Z (10 months ago)
- Language: TypeScript
- Homepage:
- Size: 8.42 MB
- Stars: 53
- Watchers: 2
- Forks: 3
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cra-monorepo
This is a starter for a Zeit [Now 2.0](https://zeit.co/now) based monorepo containing a Create React App frontend + Node lambda based backend.
Example deployment: https://cra-monorepo.ctrlplusb.now.sh/
## Features
- Frontend: Create React App with React Fast Refresh and Storybook
- Backend: Node lambdas
- Shared code between frontend and backend
- Fully TypeScript'ed with same TSConfig across entire codebase
- Consistent ESLint with Typescript parser across entire codebase
- Run Jest from the root
- Prettier configuration
- Yarn
## Recommendations
Highly recommend using VSCode with the Prettier plugin. 🥰
## Getting started
```bash
git clone https://github.com/ctrlplusb/cra-monorepo
cd cra-monorepo
yarn install
```
## Commands
Development:
```bash
yarn start
```
Deployment:
```bash
yarn deploy
```
Lint:
```bash
yarn lint
```
Storybook:
```bash
yarn storybook
```
Test:
```bash
yarn test
```