Skip to content

Nodejs Postgres based web app boilerplate, scaffolding with optional Redis-server Memcache for performance clubbed with passport.js for custom RBAC and socket.io for notification feature with the complete stream-based implementation for CSV upload and download the whole bundle into modular codebase architecture

matt212/Nodejs-Postgres-VanillaJS

Repository files navigation

sh file Setup

chmod +x ./app/utils/serverSetup/primarySetup.sh

sed -i -e 's/\r$//' ./app/utils/serverSetup/> primarySetup.sh

chmod +x ./app/utils/serverSetup/secondarySetup.sh

sed -i -e 's/\r$//' ./app/utils/serverSetup/secondarySetup.sh

bash ./app/utils/serverSetup/primarySetup.sh

Please note if you have node/postgres/server installed in your instance/machine just comment out in primarySetup.sh file and then run this file

app setup

node,postgres, redis and app dependencies installation

bash ./app/utils/serverSetup/primarySetup.sh

bash ./app/utils/serverSetup/secondarySetup.sh

app run

npm run app or yarn app

app usage

goto localhost:3009/employees

username : krennic and password:orson

select birthdate from dropdown and select date range any from 1982 to till date

  • Dynamic pivot operation with highchart implementation

redlime

  • Node.js stream based CSV download for 1000k from PostgresSQL with socket.io as progress feature

redlime

  • Automated Swagger for each Module created By build in scaffoding

redlime

  • Basic dashboard operation

redlime

Custom fractural pattern based app :

things which are plug and play

  • new fields (datatypes string and ints ) , config based modular apporach on server side duh.
  • validation is sly-ly implemented taken care by config based modular apporach on client side.
  • modulerized everything baby concept for excel export ,import table rendering and dynamic pivot based filters !
  • create, update , delete. search is implemented for single table and complex queries multi join alias based approach queries.
  • every thing search, group by multiselect search is paginated to the core for effeciency and scalabliltiy.which goes without sayin is modulerized to the core .
  • single set depenendences routes wherein all dependencies are imported from dependencies core.

    The essence is request and response structure which in turn is based on fractural pattern which is fuel for this custom ad -hoc fractural beast of an app.

oOh, I forgot stream based realtime 1000k yup you read that right 1000k with bare minimum hardware pick any lowest minimum droplet (digitalocean), aws instance for more or less $5 a months and this ground up platform works seamlessly due to fine tune architecture over period of time

  • record E import, export , TL(pivot , search multiselect multicolumn) applications anything from custom b2b app like crm etc .
  • Release notes 7 Dec 2020

made date filter optional with code refractoring by introducing disableDate=true argument in API payload.

About

Nodejs Postgres based web app boilerplate, scaffolding with optional Redis-server Memcache for performance clubbed with passport.js for custom RBAC and socket.io for notification feature with the complete stream-based implementation for CSV upload and download the whole bundle into modular codebase architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published