JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q19277F
  • License MIT

Boilerplate for express following the bulletproof node.js project architecture (https://dev.to/santypk4/bulletproof-node-js-project-architecture-4epf)

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-express-zen) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Express-Zen

    A Boilerplate build by Cydnirn for creating Express App using typescript and following the bulletproof model

    Packed with Typescript, Express essential for running behind nginx, express validator, and testing essential using mocha

    To use simply run npx create-express-zen or npx create-express-zen folderName

    Folder Explanation

    App.ts

    The entry point of the Application

    Config

    Folder to store your .env

    Edit .env.development for dev uses

    Edit .env.production for prod uses

    Controllers

    Folder to store your controller

    Events

    Folder to store your event listeners

    loaders

    Folder to store your modules, create new loader and load it in index.ts

    models

    Folder to store your model

    routes

    Folder to store your route, create new route and load it in index (/api)

    test

    Folder to store your unit test

    types

    Folder to store your Typescripts interfaces and types

    utils

    Folder to store various utilities for your Express App

    Execution

    To run app

    npm run dev

    To start production

    npm start

    To stop production

    npm run stop

    To run unit test

    npm run test