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'
- Clone the repository
git clone https://github.com/log4code/ExpressAppSetup.git
- Run the setup script
sh ./setup.sh
-
The setup will install and setup an Express app and launch it.
-
Navigate in your browser to
localhost:3000
-
Success!
-
To launch the app in the future run the following command
npm run start
If you don't want to install anything locally on your own machine and want to get started immediately, use repl.it.
-
Sign up for a free account at repl.it
-
Create a new 'Bash' REPL.
- Naviate to the source control tab
-
Click 'Existing git repository?'
-
Select 'Import from GitHub'
- Paste this repository URL
https://github.com/log4code/ExpressAppSetup.git
into the repository field
-
Click 'Import from GitHub' button
-
Accept the default REPL settings by clicking 'done'
- Run the command below in the shell window.
-
The setup will install and setup an Express app and launch it.
-
Navigate to
localhost:3000
to verify the app is running
-
Success!
-
To launch the app in the future run the following command
npm run start