volcano-express-cli v1.0.20
Volcano-express CLI
Getting started
Installation
npm install volcano-express-cli -g
Create 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 --init
Your 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 start
If the server starts with no error, it outputs a success message in the console :
Server started at port 3000
Test 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/demo
You 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 --init
Volcano-express
Visit the npm page for Volcano-express for the official documentation.
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago