0.5.2 • Published 4 years ago

cra-template-strangs v0.5.2

Weekly downloads
21
License
-
Repository
github
Last release
4 years ago

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:

  1. Change Dockerfile
....
# For Dev mode: 
#     CMD "yarn" "dev"
# For Prod mode: 
#     CMD "yarn" "start"
CMD "npm" "run" "dev"
  1. 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.