程旭源 df2268c81c 完成数据库的调用 1 년 전
..
HttpTest 2f73654ba5 使用数据库 1 년 전
app df2268c81c 完成数据库的调用 1 년 전
config df2268c81c 完成数据库的调用 1 년 전
database df2268c81c 完成数据库的调用 1 년 전
test 56f32a6cdb init backend 1 년 전
typings df2268c81c 完成数据库的调用 1 년 전
.eslintignore 56f32a6cdb init backend 1 년 전
.eslintrc b81f802002 添加JWT 模块 1 년 전
.gitignore 56f32a6cdb init backend 1 년 전
.sequelizerc b81f802002 添加JWT 模块 1 년 전
README.md 56f32a6cdb init backend 1 년 전
package.json 2f73654ba5 使用数据库 1 년 전
tsconfig.json 56f32a6cdb init backend 1 년 전
yarn.lock 2f73654ba5 使用数据库 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