@dollardojo/express-generator

1.0.17 • Public • Published

DollarDojo Express Generator

Scaffold an Express app with a single command. This generator will create a new directory with the name of your app, install all dependencies, and create a basic file structure for your app. Several things are configured out of the box, including:

Installation

npm i -g @dollardojo/express-generator generate <directory-name> @dollardojo/express-generator generate <directory-name>

If you do not wish to install globally, you can use npx to run the generator:

npx @dollardojo/express-generator generate <directory-name>

Note: Project directory will be created in current working directory. Directory will be converted to kebab-case.

Running the Project

For additional details, see the README contained within the generated project.

The generator will default the server to port 3002. You can update the port number by configuring the PORT environment variable in the project's .env.

To start the server in development mode, run npm run dev from the project's root directory. Additional commands can be found in the project's package.json and README.

/@dollardojo/express-generator/

    Package Sidebar

    Install

    npm i @dollardojo/express-generator

    Weekly Downloads

    1

    Version

    1.0.17

    License

    MIT

    Unpacked Size

    588 kB

    Total Files

    41

    Last publish

    Collaborators

    • wesdollar_