A full-stack boilerplate that using express with webpack, react and typescirpt!
MIT License
Demo Page - contains classic todo list, async server call, and 404 page with random moe images. (Support multi-language, currently English, Chinese, and Japanese)
yarn
or npm
docker
with docker-compose
The easiest way to run the example project is to use docker-compose
:
docker-compose up --build
that's it :)
You can also follow instructions below if you want to customize it.
Go to project root directory:
yarn install
If you find permission problem when trying to install yarn globally, check this out.
You can either
postgresql
and redis
using docker images:docker-compose up -d postgres redis
or
backend/config.json
.On development (with hot reload):
yarn dev
On production (with terser and other optimazitions):
yarn prod
Thanks to webpack-bundle-analyzer, assets bundle can be analyzed and optimized through DLL Plugin.
yarn profile
yarn test
yarn coverage
Every push on master branch will trigger Github Actions for heroku deployment.
See CONTRIBUTING.md