volcano-express-cli v1.0.20
Volcano-express CLI
Getting started
Installation
npm install volcano-express-cli -gCreate the project
To create all the files and import all the dependencies needed for a new project, simply use the init command from the CLI :
volcano --initYour project will then have the following structure :
Start the server
To start the server, use the npm start command.
By default, the server starts at port 3000.
npm startIf the server starts with no error, it outputs a success message in the console :
Server started at port 3000Test the server
Once you have built and started the server, you should be able to test it with an http request :
GET/ http://localhost:3000/demoYou should receive a 200 OK response with the following content if everything is working properly :
"Demo"List of supported commands
- init
Creates all the files and import all the dependencies needed for a new project in given folder.
volcano --initVolcano-express
Visit the npm page for Volcano-express for the official documentation.
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago