Skip to content

jrcopeti/express-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

  • npm init -y (y yes to all)
  • git init
  • npm i -D nodemon
  • npm i express
  • npm i dotenv

index.js

  • import the packages
  • const app = express()
  • app.get('/', (req, res) => res.send('Hello World!'))
  • app.listen(port, () => console.log('Server is running on port ' + port))

About

Steps to create an express.js app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published