A demo webrtc video chat app made with Sails + Next + Socket.io
https://next-webrtc.carlogren.com
Clone the project then install dependencies
git clone [email protected]:RasCarlito/next-webrtc.git && cd next-webrtc && npm install
Run the development server
sails lift
This will run the Sails API server and the Next.js server integrated to Sails using sails-hook-next.
Visit the app at http://localhost:3000
To run environment in production mode first we need to build the Next.js app
npm run build
And then run the Sails server in production mode
sails lift --prod
Or
NODE_ENV=production node app.js