Make sure you have Node.js installed. Check by running:
node -v
npm -vIf not installed, download it from nodejs.org (LTS version recommended).
Navigate to the project folder and install everything:
cd vacayyay_fullstack
npm installThis reads package.json and installs all dependencies into node_modules/.
npm startnpm run devRequires
nodemonwhich is already in the dev dependencies.
The app will be live at http://localhost:3000
ngrok creates a public URL that tunnels to your localhost so anyone on the internet can access your app.
- Go to ngrok.com and create a free account
- Download the binary for your OS from the dashboard
- Move it somewhere on your PATH (e.g.
/usr/local/bin/ngrokon Linux/Mac)
Mac (Homebrew):
brew install ngrok/ngrok/ngrokLinux (snap):
sudo snap install ngrokWindows (Chocolatey):
choco install ngrokngrok versionAfter creating your free account at ngrok.com, copy your auth token from the dashboard and run:
ngrok config add-authtoken YOUR_TOKEN_HEREYou only need to do this once — it saves to ~/.config/ngrok/ngrok.yml.
Make sure your server is already running (npm start), then in a separate terminal:
ngrok http 3000ngrok will display something like:
Forwarding https://abc123.ngrok-free.app -> http://localhost:3000
Share that https://...ngrok-free.app URL with anyone — they can access your running app from anywhere.
Note: On the free plan, visitors will see an ngrok warning page on first visit. They just click "Visit Site" to proceed. The URL also changes every time you restart ngrok.
Open two terminal windows:
Terminal 1 — start the app:
cd vacayyay_fullstack
npm startTerminal 2 — start the tunnel:
ngrok http 3000- Stop the Node server:
Ctrl + Cin Terminal 1 - Stop ngrok:
Ctrl + Cin Terminal 2
Or kill by port if something is stuck:
# Linux / Mac
fuser -k 3000/tcp
# Windows
netstat -ano | findstr :3000
taskkill /PID <PID> /F| Command | What it does |
|---|---|
npm install |
Install dependencies |
npm start |
Start the server |
npm run dev |
Start with auto-reload |
ngrok http 3000 |
Create public tunnel to port 3000 |
ngrok config add-authtoken TOKEN |
Save your ngrok auth token |