A quick start NextJS App template with Storybook TypeScript ReactJS Apollo NextJS GraphQL StyledComponent
npm install cra-template-strangs
npx create-react-app --template strangs
`$3
`
yarn OR npm install
``
yarn dev OR npm run dev
`
$3
1. Change Dockerfile
`bash
....
For Dev mode:
CMD "yarn" "dev"
For Prod mode:
CMD "yarn" "start"
CMD "npm" "run" "dev"
`2. Run command
`bash
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.