This repo make part of a series of repositories with a couple of libs/framework already setup, just to make life a bit easier
This repo include the following libs/framework/features:
- ReactJS
- TypeScript 4
- styled-components
- commitlint
- eslint
- prettier
- NextJS (10)
- Dark-mode using a custom react hook
- Custom checkbox component
yarn #this will install all deps
yarn dev #this will run the app on localhost:3000
With NextJS there is a couple way to build/deploy an app.
The Dockerfile in this repo was extracted from NextJS Docs
docker build -t docker_image_name .
docker run -p 3000:3000 -it docker_image_name
This will output the builded app in /out
as static pages
yarn build:static