Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helloworld

Build Status

Start up

Docker way

  1. install Docker on your OS flavor
  2. Pull docker image
docker pull kentio/helloworld:latest
  1. Run docker image
docker run -d -p 3000:3000 kentio/helloworld
  1. On your browser, go to:
http://localhost:3000/
http://localhost:3000/status

From source

  1. Clone the source
git clone https://github.com/gitkent/helloworld.git
cd helloworld
  1. Install dependencies
npm install
  1. Start the app
node app
  1. On your browser, go to:
http://localhost:3000/
http://localhost:3000/status

Limitations and Risks

  • exposed API is not https
  • authentication not setup for API endpoints
  • testing too high level. e.g. a good test should expect the content of API respond contains "Hello World!
  • testing should also coversusing different version of node rather than just using stable

About

Hello World API on NodeJS

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages