-
Express.js boilerplate with middlewares
-
Sequelize models generation by schema file
-
React-redux automatic setup
npm install -D skynet-15
npx skynet init "2"
IMPORTANT NOTE: Do not npm init before initializing skynet-15. Remove package.json
Modify template as necessary. If need more models, copy and add more into the exported object. If need less, remove the unused template.
module.exports = {
table1: {
model_name: 'User',
attributes: {
email: 'string',
password: 'string',
role: 'string',
age: 'integer'
}
},
table2: {
model_name: 'Content',
attributes: {
email: 'string',
password: 'string',
role: 'string',
age: 'integer'
}
}
}npx skynet build-model
Modify sequelize files according to necessity:
-
Config File
-
Models
-
Migrations
npx skynet build-db
npm create vite@latest
npm install -D skynet-15
npx skynet build-client