This repository contains a collection of NodeJS-HOWTOs for learning/demo purposes.
The HOWTOS are tested with the following software components...
Name | Reference |
---|---|
Windows | >= 11 |
Docker Desktop | >= 4.12.0 |
WSL | >= 2 |
Ubuntu | >= 20.04.6 LTS (Focal Fossa) |
docker | 20.10.17 |
docker-compose | v2.10.2 |
-
Clone the NodeJS-HOWTOs repo
$ cd ~ $ git clone [email protected]:schneidermatic/NodeJS-HOWTOs.git
-
Select one of the HOWTOs i.e.
$ cd NodeJS-HOWTOs/"HOWTO - Use Static Routes with Node.js (Express)/app" $ source ./.apprc
-
Define the 'PROJECT_HOME' Variable in the $HOME/.nodejshw2s File
-
Source the APP Environment (again)
$ cd NodeJS-HOWTOs/"HOWTO - Use Static Routes with Node.js (Express)/app" $ source ./.apprc
-
List all Shorthands
$ cd NodeJS-HOWTOs/"HOWTO - Use Static Routes with Node.js (Express)/app" $ app_ls _ _ _____ _______ ___ | | | |/ _ \ \ / /_ _/ _ \ ___ | |_| | | | \ \ /\ / / | || | | / __| | _ | |_| |\ V V / | || |_| \__ \ |_| |_|\___/ \_/\_/ |_| \___/|___/ ---------- app_banner app_ls app_new app_purge app_rm app_run app_setup
-
Run the APP
$ app_run
-
Open your Browser an go to http://localhost:3000
-
Stop the app with 'ctrl-c'
-
Remove the 'node_modules' folder
$ cd NodeJS-HOWTOs/"HOWTO - Use Static Routes with Node.js (Express)/app" $ app_rm
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request