mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
Merge pull request #3212 from pjmolina/master
nodejs-server: Added npm start scripts on package.json + update README
This commit is contained in:
commit
89ab384d75
@ -8,11 +8,10 @@ This example uses the [expressjs](http://expressjs.com/) framework. To see how
|
||||
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)
|
||||
|
||||
### Running the server
|
||||
To run the server, follow these simple steps:
|
||||
To run the server, run:
|
||||
|
||||
```
|
||||
npm install
|
||||
node .
|
||||
npm start
|
||||
```
|
||||
|
||||
To view the Swagger UI interface:
|
||||
|
@ -3,6 +3,10 @@
|
||||
"version": "{{appVersion}}",
|
||||
"description": "{{{appDescription}}}",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"prestart": "npm install",
|
||||
"start": "node index.js"
|
||||
},
|
||||
"keywords": [
|
||||
"swagger"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user