Jean-alien / solid-fishstick-snowcats

Jean's CIS 486 Repository | https://icecold-polar-render.onrender.com/
https://github.com/man2055/solid-fishstick-snowcats
GNU General Public License v3.0
0 stars 0 forks source link

initialize my node project & set up express #3

Open Jean-alien opened 9 months ago

Jean-alien commented 9 months ago
Jean-alien commented 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)
Jean-alien commented 9 months ago

to test, in terminal we wanna run:

$:

※ Success --> Localhost: 3000 responds.

localhost 3000 connected

Jean-alien commented 9 months ago

git push branch iss3

Success: new branch iss3 being pushed.

Jean-alien commented 9 months ago

swtich branch command:

image