程旭源 b81f802002 添加JWT 模块 il y a 2 ans
..
app b81f802002 添加JWT 模块 il y a 2 ans
config b81f802002 添加JWT 模块 il y a 2 ans
test 56f32a6cdb init backend il y a 2 ans
typings b81f802002 添加JWT 模块 il y a 2 ans
.eslintignore 56f32a6cdb init backend il y a 2 ans
.eslintrc b81f802002 添加JWT 模块 il y a 2 ans
.gitignore 56f32a6cdb init backend il y a 2 ans
.sequelizerc b81f802002 添加JWT 模块 il y a 2 ans
README.md 56f32a6cdb init backend il y a 2 ans
package.json b81f802002 添加JWT 模块 il y a 2 ans
tsconfig.json 56f32a6cdb init backend il y a 2 ans
yarn.lock b81f802002 添加JWT 模块 il y a 2 ans

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