程旭源 2c41773dd2 添加 dotenv 组件用于支持.env 文件 1 年之前
..
app f718e2f195 init backend 1 年之前
config 2c41773dd2 添加 dotenv 组件用于支持.env 文件 1 年之前
test 56f32a6cdb init backend 1 年之前
typings 56f32a6cdb init backend 1 年之前
.eslintignore 56f32a6cdb init backend 1 年之前
.eslintrc 2c41773dd2 添加 dotenv 组件用于支持.env 文件 1 年之前
.gitignore 56f32a6cdb init backend 1 年之前
README.md 56f32a6cdb init backend 1 年之前
package.json 2c41773dd2 添加 dotenv 组件用于支持.env 文件 1 年之前
tsconfig.json 56f32a6cdb init backend 1 年之前
yarn.lock 2c41773dd2 添加 dotenv 组件用于支持.env 文件 1 年之前

README.md

hackernews-tegg

Hacker News showcase using tegg

QuickStart

Development

$ 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.

Deploy

$ npm run tsc
$ npm start

Npm Scripts

  • Use npm run lint to check code style
  • Use npm test to run unit test
  • se npm run clean to clean compiled js at development mode once

Requirement

  • Node.js >= 16.x
  • Typescript >= 4.x