1.1.7 • Published 2 years ago

create-express-app-template v1.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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_name

If you have already installed the module then directly use npx command-

  npx create-express-app-template project_name

Step 2: Select the frontend Framework (optional) :

Capture2

Step3 : a) Folder Structure if you opt for React Framework

Capture6

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

Capture4

Step 4 : In config/config.env file set up the MongoDB connection string

Step 5 : Navigate into the folder

  cd project_name

Step 6: Run the server

  npm start
1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago