express-rest-api-boilerplate
express-rest-api-boilerplate copied to clipboard
Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql
prod环境,重启项目后数据表被清空,这默认配置有点坑啊  
Hi, I was wondering to add socket.io on the same port, something like this. ``` const app = require('./index.js'); const port = process.env.PORT; // Server let server = app.listen(port, ()...
Changes: - login & register sends the refreshToken as well - added crypto dependency
I'm new to this project (and sequelize and postgres) so this may be a dumb question, but I'm having trouble doing my model associations in the model file itself. If...
Hi, I am trying to build this for node 10. But I get the following error. ``` yarn add v1.19.2 [1/4] 🔍 Resolving packages... info There appears to be trouble...
Hi, I want to deploy a build of this to my production. Can someone suggest a method to build a distrib of this? TIA
In the default package.json included there is a incorrect version for sequelize. Current: "sequelize": "^6.0.0" Issue: This fails to install since NPM cannot find version 6.0.0. To resolve change the...
Hi, I tried to make two models of User(exist in this repo) and Team(new). I added following in User model. const Team = require("./Team"); Team.memberAssociation = User.belongsToMany(Team, { through: "member"...
Hi, Your boilerplate has been incredibly helpful in learning about how express and mvc works. Could you give me some pointers as to how I would render data to pug...