This is a full-stack boilerplate using react , next, nest, redux, jest and TypeScript.
Linter, prettier, some husky hooks etc already configured.
Nest is used as our server. You can check it out at ./server/
endpoint | status | type | obs. |
---|---|---|---|
/api/health-check | 200 | string | from nest |
* | - | - | next will handle |
It is in ./src
dir.
yarn
To build your project:
yarn build
It will be on ./dist/
dir
To run your builded project:
yarn start
To export your project as frontend only:
yarn export
To run it:
yarn start:exported
dev: run in dev mod
build: build project
export: export client-side only projects
start: run builded project
test: run all unit tests
test:dev: run tests and watch