page_type | languages | name | description | products | ||||
---|---|---|---|---|---|---|---|---|
sample |
|
JavaScript end-to-end Express.js server |
This project is used instead of the previous express-generator. |
|
This is a basic Express.js server used for JS Dev Experience documentation, in place of the previously used express generator.
-
Clone repo.
-
Install dependencies:
npm install
-
Configure environment variable name for port in
./src/index.js
.- Azure App Service on Linux: process.env.WEB_PORT
- Azure App Service on Windows native: process.env.PORT
-
Start project:
npm start
- Legal files: If your PR removes the legal files, you PR will be closed.
- Azure Pipelines: Azure pipeline example files should be put in the
azure-pipelines
directory. The file name should indicate the type of pipeline. That should be the only file in your PR or it will be closed.