DATABASE
CONFIGURE FIRST THE config.json on config folder
- npm install
- npm i -g sequelize-cli <-- SEQUELIZE-CLI
- npm i -g @zeit/ncc <-- BUILDER
- npm i -g now <-- VERCEL CLI FOR DEPLOYMENT
- sequelize db:create
- sequelize db:migrate
- sequelize db:seed:all
- npm run build <-- BUILD
- now --prod
RUN: sequelize model:generate --name User --attributes firstName:string,lastName:string
Available Data Types
- string
- text
- integer
- float
Views Folder Structure
- views
-
- partials
-
-
- css.ejs ---> CSS CDNs and Custom CSS
-
-
-
- scripts.ejs ---> JS CDNs and Custom JS
-
-
-
- footer.ejs ---> Footer Section of the File
-
-
-
- header.ejs ---> Header Section of the File
-
-
- vue
-
-
- components
-
-
-
-
- button-counter.ejs ---> Sample Vue Component
-
-
-
-
- vue-template.ejs ---> Vue Template Sample
-
-
-
- home.ejs ---> Sample Vue Implementation
-
-
- ejs-template.ejs ---> Sample Template
-
- index.ejs ---> Sample Index File