/his-nodejs-app

Housing information system created using PEVN (Postgres, Express, Vue & Node.js) Stacks

Primary LanguageJavaScript

SMART HOUSING INFORMATION SYSTEM

Developed using PEVN (Postgres, Express, Vue & Node) Stacks. Structure influenced by RoR framework.

A. Technology Stacks

  • Frontend Developed on top of Vue.js
  • Backend Developed using Node.js & Express Framework
  • Postgres Database

B. Spec

  • Frontend a. Vuetify.js b. State management using Vuex

  • Backend a. User Authentication => JWT b. Migration & ORM => Sequelize c. Validation using Hapi/Joi d. Testing Framework => Jest

  • Testing Env a. Jest & Node Assert

C. USEFUL CLI

Quick Installation

  1. Install concurrently as the task runner
$ npm install -g concurrently
  1. Install Backend Server
$ npm install
  1. Migrate Database
$ npm run migrate
  1. Start The Server on Dev Mode
$ npm run development
  1. Login to System using or create your own account
email: test@user.com
password: test123

Frontend Installation

WIP

D. Migration

  1. Create New Model
$ node node_modules/sequelize-cli/lib/sequelize model:generate --name User --attributes firstName:string,lastName:string,email:string