Skip to content

wpc-c39/init_script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Demo Application

Node.js basic application useful for demos and examples

 

General Information

The application show a basic web page Welcome-Page

The application have a basic function to determine if a number is prime or not Welcome-Page

The folder “spec” contains the application tests which are run using the jasmine-node module Welcome-Page

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 Welcome-Page

Build

Install Dependencies:

npm install

Run Tests:

npm test

create zip file

npm run build

Start the Application:

npm start

About

服务器初始化脚本

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 89.3%
  • JavaScript 9.8%
  • Dockerfile 0.9%