Node.js basic application useful for demos and examples
The application show a basic “Hello World” message in the home page
The application have a basic function to determine if a number is prime or not
The folder “spec” contains the application tests which are run using the jasmine-node module
The application Dockerfile is very simple, use node as a base image, copy the application files, download the application dependencies and run the application in the port 3000
Install Dependencies:
npm install
Run Tests:
npm test
create zip file
npm run build
Start the Application:
npm start