NoExGen is a node.js express application generator with modern folder structure, namespace/project mapping and much more! It contains preconfigured Settings and Routing files, ready to be used in any project.

Overview

NoExGen

NPM Version NPM Downloads

Installation

$ npm install -g noexgen

Quick Start

You can use Node Package Execution to create your node-express application as shown below:

Create the app:

$ npx noexgen --view=ejs my-noex-app && cd my-noex-app

Install dependencies:

$ npm install

start your app

$ npm start

to start your app using nodemon

$ npm run dev

All Done

visit http://localhost:5000/

Other Command Line Options you can use with NoExGen

The following command line options can be used to further customise this generator.

Options:

--es6                  create NoEx template With modern ES6 synteax
-p,--port <port>       Start the server on the specified port
--view=jade            create NoEx template With ejs engine
--view=pug             create NoEx template With pug engine
--view=hbs             create NoEx template With handlebars engine
--view=hjs             create NoEx template With hogan.js engine
-v, --view <engine>    create NoEx template with view <engine> support (dust|ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
    --no-view          use static html instead of view engine
-c, --css <engine>     add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
    --git              add .gitignore
-f, --force            force on non-empty directory
--version              output the version number
-h, --help             output usage information

The produced app has the directory structure shown below.:

|   .env
|   index.js
|   package.json
|
+---config
|       db.js
|
+---controllers
+---middlewares
|       errorMiddleware.js
|
+---models
+---public
|   +---images
|   +---javascripts
|   \---stylesheets
|           style.css
|
+---routes
|   |   home.route.js
|   |
|   +---private
|   |       index.js
|   |
|   \---public
|           index.js
|
\---views
        error.ejs
        index.ejs
        layout.ejs

12 directories, 12 files

NOTE

This is a beta version of NoExGen, which will be more stable and include all test cases in version 1.0.0.

License

MIT

You might also like...

This project contains a leader board for a game which contains players name and list and store them on API build with HTML, CSS, JS and API

Leaderboard This App is a Game Leaderboard app Which is created by JavaScript and the big picture of this application is using API. Build With πŸ‘©β€πŸ”§ .

Dec 15, 2022

A script that combines a folder of SVG files into a single sprites file and generates type definitions for safe usage.

remix-sprites-example A script that combines a folder of .svg files into a single sprites.svg file and type definitions for safe usage. Technical Over

Nov 9, 2022

Organizes all your files from from a folder into different section automatically.

File System Organizer Global command line application Organizes all your files from from a folder into different section automatically. Functionality

Jun 15, 2022

Userland module that implements the module path mapping that Node.js does with "exports" in package.json

exports-map Userland module that implements the module path mapping that Node.js does with "exports" in package.json npm install exports-map Usage co

May 31, 2022

A quickstart AWS Lambda function code generator. Downloads a template function code file, test harness file, sample SAM deffiniation and appropriate file structure.

Welcome to function-stencil πŸ‘‹ A quickstart AWS Lambda function code generator. Downloads a template function code file, test harness file, sample SAM

Jun 20, 2022

Zemi is data-driven and reverse-routing library for Express. It provides out-of-the-box OpenAPI support, allowing you to specify and autogenerate an OpenAPI spec.

zemi zemi is a data-driven routing library for Express, built with Typescript. Features: optional, out-of-the-box support for OpenAPI reverse-routing

Jul 23, 2022

TODA files: an open source cryptographic asset structure

TODA Cryptographic Asset System TODA is a system for creating digital assets, based on a unique crypographic distributed data structure and supporting

Dec 12, 2022

vite-react-typescript with eslint and prettier predefined settings

vite-react-typescript with eslint  and prettier predefined settings

Vite + React + Typescript + Eslint + Prettier A starter for React with Typescript with the fast Vite and all static code testing with Eslint and forma

Dec 30, 2022
Owner
Souvik Sen
Cybersecurity Student@IEMLABS | Web Developer | Open Source Contributer | Innovation Enthusiastic
Souvik Sen
πŸ’…β€A ready-to-go with a well-thought-out structure Electron app boilerplate with ReactJS, TypeScript, CSS / SASS modules, SWC, Eslint, Prettier, GitHub Action releases and more.

Electron App ??  A ready-to-go with a well-thought-out structure Electron app boilerplate with ReactJS, TypeScript, CSS / SASS modules, SWC, Eslint, P

Dalton Menezes 155 Dec 29, 2022
Generate the VitePress sidebar through the folder structure

⚑ VitePress Plugin: Auto Sidebar Generate the VitePress sidebar through the folder structure. ✨ Release Notes Features Small library TypeScript Suppor

Jonathan Schneider 8 Dec 28, 2022
A Tauri + Next.js (SSG) template, with TailwindCSS, opinionated linting, and GitHub Actions preconfigured

Tauri + Next.js Template This is a Tauri project template using Next.js, bootstrapped by combining create-next-app and create tauri-app. This template

Kevin Xiao 58 Dec 30, 2022
A TypeScript namespace declaration for KeyboardEvent.key strings, just in case your code is allergic to enums.

ts-key-namespace A TypeScript namespace declaration for KeyboardEvent.key strings, just in case you prefer namespaces to enums. Largely based on ts-ke

Daniel Soohan Park 3 Apr 5, 2022
Deploys a AWS Bastion Host preconfigured for Tailscale access.

cdk-tailscale-bastion This packages creates an AWS Bastion configured for Tailscale. This covers steps 1,2 & 4 of the Tailscale RDS guide. You may fin

JT 10 Dec 3, 2022
Node module for synchronously and recursively merging multiple folders or collections of files into one folder.

merge-dirs Node module for synchronously and recursively merging multiple folders or collections of files into one folder. Install yarn add @nooooooom

不见月 2 Mar 20, 2022
🟒 Music player app with a modern homepage, fully-fledged music player, search, lyrics, song exploration features, search, popular music around you, worldwide top charts, and much more.

Music-player-app see the project here. 1. Key Features 2. Technologies I've used Key Features: ?? Fully responsive clean UI. ?? Entirely mobile respo

suraj ✨ 3 Nov 16, 2022
Small js library to animate some writing effect through a list of strings. It also supports settings for typo errors, to make it more human likely.

Write and Delete Small js library to animate some writing effect through a list of strings. It also supports settings for typo errors, to make it more

fabs 2 Nov 15, 2022
A self-hosted Thumbnail generator/finder which creates thumbnails based on folder names and google search results.

Thumba A self hosted Thumbnail generator/finder which creates thumbnails based on folder names and google search results. Description This project use

Norbert TakΓ‘cs 20 Dec 15, 2022
Set up and build a Node.js REST API using Typescript, Express, Mongoose with a maintainable and scalable structure.

Introduction Create a maintainable and scalable Node.js REST API with TypeScript, Express and Mongoose. The project structure is based on MVC and foll

Adam Khomsi 16 Nov 18, 2022