Skip to content

Instructions and script for setting up a NodeJS/Express app foundation

Notifications You must be signed in to change notification settings

log4code/ExpressAppSetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Express App Setup

This project contains a script that will allow you to quickly stand up a working NodeJS web application using Express (pug views).

Don't want to install anything locally, try out the 'Zero Install Instructions'

Usage

  1. Clone the repository
git clone https://github.com/log4code/ExpressAppSetup.git
  1. Run the setup script
sh ./setup.sh
  1. The setup will install and setup an Express app and launch it.

  2. Navigate in your browser to localhost:3000

Express-App-Successfully-running

  1. Success!

  2. To launch the app in the future run the following command

npm run start

Zero Install (repl.it)

If you don't want to install anything locally on your own machine and want to get started immediately, use repl.it.

  1. Sign up for a free account at repl.it

  2. Create a new 'Bash' REPL.

create-new-bash-repl

  1. Naviate to the source control tab

navigate-to-source-control

  1. Click 'Existing git repository?'

  2. Select 'Import from GitHub'

import-from-github

  1. Paste this repository URL
https://github.com/log4code/ExpressAppSetup.git

into the repository field

paste-repo-url

  1. Click 'Import from GitHub' button

  2. Accept the default REPL settings by clicking 'done'

accept-default-repl

  1. Run the command below in the shell window.

run-setup-command

  1. The setup will install and setup an Express app and launch it.

  2. Navigate to localhost:3000 to verify the app is running

Express-App-Successfully-running

  1. Success!

  2. To launch the app in the future run the following command

npm run start

About

Instructions and script for setting up a NodeJS/Express app foundation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages