1.0.7 • Published 6 years ago
express-starter-pack v1.0.7
express-starter-pack
A script to start an express js project with the essential folders.
Install
To install this program run in the terminal:
npm i -g express-starter-packHow to use
After the install, you need to create an empty folder. Inside the folder you created, run in the terminal:
express-starter-packIt creates the structure of an express project. The created folders and files are:
|-- your-folder
|-- config
|-- controllers
|-- models
|-- routes
|-- index.js
|-- package.json Also, it installs the express package for you.
Now, you can run your express app using:
node index.jsYou'll see the following output:
Listening on port 3000And that's it, now you can modify the structure as you wish.