setting up route with proper mini-apps with express.Router() and app.use()

This commit is contained in:
Arjun Patel
2019-01-04 16:51:27 -08:00
parent 044f947e6d
commit 518840a576
3 changed files with 26 additions and 23 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ module.exports = (sequelize, DataTypes) => {
last_name: DataTypes.STRING,
email: DataTypes.STRING,
age: DataTypes.INTEGER,
phone: DataTypes.INTEGER,
phone: DataTypes.BIGINT,
address: DataTypes.STRING,
city: DataTypes.STRING,
state: DataTypes.STRING,