Skip to content

ArWeb-Software-Services/Express-tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple project in Express JS

This is a simple project in express, with MongoDB

Install (If you are doing from scratch)
  1. Install express generator
    npx express-generator
    npm install

  1. Install mongo database driver
    npm install mongoose --save

  1. Created a shared folder where all models, controllers, connections, middlewares etc. will be there

  2. Install multer, cors, dotenv

    npm install --save  multer
    npm install --save  cors
    npm install --save  dotenv
  1. All the files will be uploaded in public directory. Make sure to make a directory -> public

--------------------------------------------------------------------------------

Install (If you downloaded this or clone this)
  1. Install npm
   npm install

--------------------------------------------------------------------------------

N.B. :

  1. The app is running in a default port : 3001

About

This is a tutorial of Express JS with Mongo DB and MySQL

Topics

Resources

Stars

Watchers

Forks