@p2p.chat/www is a nextjs website written in Typescript.
Install dependencies:
npm i
Run the development web app:
npm run dev
Open http://localhost:3000 with your browser to see the result.
@p2p.chat/www can be deployed as a simple static website given it has no server component. It can be easily deployed for free on static site hosting providers such as https://www.render.com or https://www.netlify.com.
Set the NEXT_PUBLIC_SIGNALLING_URL
environment variable to the URL of your signalling server.
Build and export the application as a static site:
npm run build
Then simply serve the site from the built out/
directory.