Last active
May 31, 2019 08:57
-
-
Save anchetaWern/68feec5ee803eaecbf748819c41c40aa to your computer and use it in GitHub Desktop.
React Native Stream Group Chat Tutorial: Run server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// server/server.js | |
const PORT = 5000; | |
app.listen(PORT, (err) => { | |
if (err) { | |
console.error(err); | |
} else { | |
console.log(`Running on ports ${PORT}`); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment