cra-template-strangs
v0.5.2
Published
A quick start NextJS App template with Storybook TypeScript ReactJS Apollo NextJS GraphQL StyledComponent
Downloads
5
Maintainers
Readme
STRANGS Template with:
- ✅ Storybook
- ✅ TypeScript
- ✅ ReactJS
- ✅ Apollo
- ✅ NextJS
- ✅ GraphQL
- ✅ StyledComponent
- ⭐️ DOCKER
Getting Started
How to install
npx create-react-app <your-project-name> --template strangs
To run DEV Mode the server in local:
yarn OR npm install
yarn dev OR npm run dev
To run DEV Mode the server in docker:
- Change Dockerfile
....
# For Dev mode:
# CMD "yarn" "dev"
# For Prod mode:
# CMD "yarn" "start"
CMD "npm" "run" "dev"
- Run command
docker-compose up --build
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.