A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Nest framework TypeScript starter repository.
$ npm install
You must fill the information about database in src/app.module.ts
const TypeOrm = TypeOrmModule.forRoot({
type: 'mysql',
host: '',
port: 3306,
username: '',
password: '',
database: "",
autoLoadEntities: true,
synchronize: true
})
If you want to login in Wechat MiniProgram, please fill src/user/login/login.service.ts
const params = {
js_code: code,
appid: "", // 小程序的appid
secret: "", // 小程序的secret
grant_type: "authorization_code"
}
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.