HamnaFarooq/NodeJs-Project

MySQL, Express NodeJs project MVC setup

★ 1Forks 0JavaScriptGitHub ↗Compare

README

NodeJs-Project-Initialization

This repository was made to save a already set-up NodeJs project to be used to initialize all the Node projects using MVC, Express-Js, ejs and mySQL.

Getting Started

  1. Download and Install Node.js
    • Linux (Ubuntu based distros)
      sudo apt-get install curl
      curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
      sudo apt-get install nodejs
  2. Clone the Github Repo
git clone https://github.com/HamnaFarooq/NodeJs-Project.git
  1. Go into the local copy of the repo.

Installing Dependencies

Type the following command in the terminal

npm install

Running the app

  • Development environment
    npm run dev
  • Production environment
    npm start

The app should be running now.

Contributors

HamnaFarooq

Issues