Next.js is a popular frontend framework based on React that helps developers build fast web applications. Usually you have to host such an application in the cloud in order to show it to your friends and collaborators. But Pinggy makes this process as simple as pasting one command in the terminal.
Set up your Next.js app if you have not done it already by following the guide: https://nextjs.org/learn/basics/create-nextjs-app/setup.
Start your Next.js project using npx next start
.
The application will start at http://localhost:3000
by default.
Create a tunnel using the command:
ssh -p 443 -R0:localhost:3000 a.pinggy.io