https://github.com/rhiokim/monorepo-sample
Enterprise React-based Application Boilerplate with Next.js, CRA and Catalog
https://github.com/rhiokim/monorepo-sample
lerna monorepo nextjs react spa ssr
Last synced: 10 months ago
JSON representation
Enterprise React-based Application Boilerplate with Next.js, CRA and Catalog
- Host: GitHub
- URL: https://github.com/rhiokim/monorepo-sample
- Owner: rhiokim
- Created: 2018-03-13T14:39:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T14:50:47.000Z (about 8 years ago)
- Last Synced: 2025-04-22T23:36:55.356Z (about 1 year ago)
- Topics: lerna, monorepo, nextjs, react, spa, ssr
- Language: JavaScript
- Homepage:
- Size: 1.63 MB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Enterprise React Boilerplate
[](https://lernajs.io/)
This is going to design monorepo architecture for complicated/huge modern web application with react.js tech stack such as create-react-app, next.js and universal components
## Features
* Monorepo Approaching
* Design Ops & Design System Language
* Pre-configuration, -configurable
* Guaranteed Consistency
* Thorough Commit Validating and Code Cleaning
## Structure
```bash
|-- services
|-- components
|-- styleguide
|-- web-spa
`-- web-ssr
```
## How to use
```bash
mkdir my-web-workspace
cd my-web-workspace
curl https://codeload.github.com/rhiokim/monorepo-sample/tar.gz/master | tar -xz --strip=1
lerna bootstrap
# run all services which are web-spa, web-ssr and styleguide
# web-ssr 3000 port
# web-spa 3001 port
# styleguide 3009 port
npm run dev
lerna exec --parallel -- npm run dev
```
## TODO
* [ ] Sass-based styleguide
* [ ] Theme with React.js context api
* [ ] Test environment with Jest
## LICENSE
UNLICENSED