Based on Egg.js + Fis3+ TypeScript + Nunjucks multi page server rendering isomorphic engineering skeleton project
$ npm i
$ npm run dev
$ open http://localhost:7001/Don't tsc compile at development mode, if you had run tsc then you need to npm run clean before npm run dev.
Assets should be compiled before shipping.
$ npm run web:prodStart Egg with prod environment.
$ npm run tsc
$ npm start- Build code inspection workflows with husky and lint-staged
- Develop / Deploy with Docker
- Use
npm run lintto check code style - Use
npm testto run unit test - se
npm run cleanto clean compiled js at development mode once
- Node.js 8.x
- Typescript 2.8+
- docker
- docker-compose
- docker-compose.yml
- Use
docker-compose up -dto start - Use
docker-compose downto stop - Use
docker-compose down -vto remove volume/cache