Demo app for node
to run this package,
- Clone this repo
- Open your terminal and navigate to the directory
node-demo
where you have the source files cloned (this directory will contain the filepackage.json
) - Run
npm install
to install the dependencies - Run
npm start
to spin up the web server - Open your browser and navigate to http://localhost:3000
- Dockerize this application by using a simple Dockerfile
- Make sure that you are able to get the application running in docker
- Change the dockerfile to expose this application on port 8888 on your machine (ie, You should be able to access the application on http://localhost:8888)
- Note to hackers: Do not change the port in https://github.com/sreepathy/node-demo/blob/main/index.js, this is not a coding competition.