Open Jean-alien opened 9 months ago
Starter express code on 'app.js'
const express = require('express')
const app = express()
app.get('/', function (req, res) {
res.send('Hello World')
})
app.listen(3000)
to test, in terminal we wanna run:
$:
※ Success --> Localhost: 3000 responds.
git add app.js or
git add .
git commit -m 'set up local node project with expres'
git remote set-url origin https://man2055@github.com/user/repo.git
git push --set-upstream origin iss3
Success: new branch iss3 being pushed.
swtich branch command: