create-express-app-template
v1.1.7
Published
This package is used to setup the file structure of your express app with just 1 command which reduces your time to setup the boiler code
Maintainers
Readme
Starter files for Express Projects
Automating the process of connecting mongoDB,setting up the server and the commonly used folder structure with one command
Installation
Step 1: Install my-project with npm (If your installing the module for the first time ):
npm i create-express-app-template -g npx create-express-app-template project_nameIf you have already installed the module then directly use npx command-
npx create-express-app-template project_nameStep 2: Select the frontend Framework (optional) :
Step3 : a) Folder Structure if you opt for React Framework
Inside of client folder you have you the same folder structure as of npx create-react-app
b) If you do not opt for React
Step 4 : In config/config.env file set up the MongoDB connection string
Step 5 : Navigate into the folder
cd project_nameStep 6: Run the server
npm start