程旭源 c7d1b170a1 注册 il y a 1 an
..
HttpTest c7d1b170a1 注册 il y a 1 an
app c7d1b170a1 注册 il y a 1 an
config c7d1b170a1 注册 il y a 1 an
database 22ae760036 添加数据库文件 il y a 1 an
test 56f32a6cdb init backend il y a 1 an
typings c7d1b170a1 注册 il y a 1 an
.eslintignore 56f32a6cdb init backend il y a 1 an
.eslintrc b81f802002 添加JWT 模块 il y a 1 an
.gitignore 56f32a6cdb init backend il y a 1 an
.sequelizerc b81f802002 添加JWT 模块 il y a 1 an
README.md 56f32a6cdb init backend il y a 1 an
package.json c7d1b170a1 注册 il y a 1 an
sequelize-meta.json 22ae760036 添加数据库文件 il y a 1 an
tsconfig.json 56f32a6cdb init backend il y a 1 an
yarn.lock 2f73654ba5 使用数据库 il y a 1 an

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