How to Deploy Your Node js Application on Glitch for free

preview_player
Показать описание
Discover the process of deploying a Node js chat application on Glitch with this comprehensive tutorial. This video provides a step-by-step guide on how to take your Node js chat application from development to deployment. Learn how to utilize Glitch, a popular platform for developers, to host your Node js applications. Understand the intricacies of setting up a chat application, managing real-time communication, and ensuring seamless user experience. By the end of this tutorial, you’ll have gained the knowledge and confidence to deploy your own Node js chat application on Glitch. Tune in to enhance your Node js skills and take them to new heights.

0:00 signup in glitch
0:29 Create new node js project
1:18 Deploy node js app
2:55 Modifying dependencies
3:28 Testing
Рекомендации по теме
Комментарии
Автор

great tutorial
I was looking for it .

OmarWaqar
Автор

why this is incorrect ?
const express = require('express');
const bodyParser = require('body-parser');

const app = express();
const PORT = process.env.PORT || 4000; // Change ce port si nécessaire

app.use(bodyParser.json());

app.post('/collect-info', (req, res) => {
console.log(req.body);
res.send('Informations reçues');
});

app.listen(PORT, (err) => {
if (err) {
console.error('Erreur lors du démarrage du serveur:', err);
} else {
console.log(`Serveur démarré sur le port ${PORT}`);
}
});

DJABOU-SUCCESS-MOTIVATION-TV
Автор

doesn't work, says starting... and it never starts 🤦‍♂🤦‍♂🤦‍♂ horrible!

Dragon-mvvy