程旭源 df2268c81c 完成数据库的调用 1 rok temu
..
HttpTest 2f73654ba5 使用数据库 1 rok temu
app df2268c81c 完成数据库的调用 1 rok temu
config df2268c81c 完成数据库的调用 1 rok temu
database df2268c81c 完成数据库的调用 1 rok temu
test 56f32a6cdb init backend 1 rok temu
typings df2268c81c 完成数据库的调用 1 rok temu
.eslintignore 56f32a6cdb init backend 1 rok temu
.eslintrc b81f802002 添加JWT 模块 1 rok temu
.gitignore 56f32a6cdb init backend 1 rok temu
.sequelizerc b81f802002 添加JWT 模块 1 rok temu
README.md 56f32a6cdb init backend 1 rok temu
package.json 2f73654ba5 使用数据库 1 rok temu
tsconfig.json 56f32a6cdb init backend 1 rok temu
yarn.lock 2f73654ba5 使用数据库 1 rok temu

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