This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated readme for node web app (#261)
* updated readme * Review coments for readme update Co-authored-by: Anand Upadhyay <[email protected]>
- Loading branch information
1 parent
b20669f
commit 3271915
Showing
12 changed files
with
308 additions
and
72 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
github/node/express/webappCosmosDBWithTests/Application/README.md
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Nodejs Express web application | ||
|
||
Sample Nodejs Express web application built on [visual studio code](https://code.visualstudio.com/). | ||
|
||
Language| Framework | Runtime | Platform | Author | | ||
| --------| -------- | -------- |--------|--------| | ||
javascript| Express | node | Azure Web App| | | ||
|
||
## Installation | ||
|
||
For development, you will need Node.js and a node global package | ||
|
||
### Node | ||
- #### Node installation on Windows | ||
|
||
Just go on [official Node.js website](https://nodejs.org/) and download the installer. | ||
Also, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)). | ||
|
||
- #### Node installation on Ubuntu | ||
|
||
You can install nodejs and npm easily with apt install, just run the following commands. | ||
|
||
$ sudo apt install nodejs | ||
$ sudo apt install npm | ||
|
||
- #### Other Operating Systems | ||
You can find more information about the installation on the [official Node.js website](https://nodejs.org/) and the [official NPM website](https://npmjs.org/). | ||
|
||
If the installation was successful, you should be able to run the following command. | ||
|
||
$ node --version | ||
v8.11.3 | ||
|
||
$ npm --version | ||
6.1.0 | ||
|
||
If you need to update `npm`, you can make it using `npm`! Cool right? After running the following command, just open again the command line and be happy. | ||
|
||
$ npm install npm -g | ||
|
||
## Running | ||
|
||
- #### Clone this repository | ||
|
||
```bash | ||
$ git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.git | ||
``` | ||
|
||
- #### Install dependencies | ||
```bash | ||
$ cd Application | ||
$ npm install -g | ||
``` | ||
- #### Run Application | ||
```bash | ||
$ cd Application | ||
$ npm start | ||
``` | ||
- #### Running tests | ||
```bash | ||
$ cd Tests | ||
$ npm install -g | ||
$ npm test | ||
``` | ||
|
||
## Deploying on Azure | ||
|
||
Any change to this repository will result in triggering a workflow to build and deploy this app on azure as an app service. Learn more about [Azure App Service](https://docs.microsoft.com/en-us/azure/app-service/) and [Github Actions](https://docs.github.com/en/actions). | ||
|
||
## Contributing | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments. | ||
|
||
|
||
## License: | ||
|
||
See [LICENSE](LICENSE). |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Nodejs Express web application | ||
|
||
Sample Nodejs Express web application built on [visual studio code](https://code.visualstudio.com/). | ||
|
||
Language| Framework | Runtime | Platform | Author | | ||
| --------| -------- | -------- |--------|--------| | ||
javascript| Express | node | Azure Web App| | | ||
|
||
## Installation | ||
|
||
For development, you will need Node.js and a node global package | ||
|
||
### Node | ||
- #### Node installation on Windows | ||
|
||
Just go on [official Node.js website](https://nodejs.org/) and download the installer. | ||
Also, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)). | ||
|
||
- #### Node installation on Ubuntu | ||
|
||
You can install nodejs and npm easily with apt install, just run the following commands. | ||
|
||
$ sudo apt install nodejs | ||
$ sudo apt install npm | ||
|
||
- #### Other Operating Systems | ||
You can find more information about the installation on the [official Node.js website](https://nodejs.org/) and the [official NPM website](https://npmjs.org/). | ||
|
||
If the installation was successful, you should be able to run the following command. | ||
|
||
$ node --version | ||
v8.11.3 | ||
|
||
$ npm --version | ||
6.1.0 | ||
|
||
If you need to update `npm`, you can make it using `npm`! Cool right? After running the following command, just open again the command line and be happy. | ||
|
||
$ npm install npm -g | ||
|
||
## Running | ||
|
||
- #### Clone this repository | ||
|
||
```bash | ||
$ git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.git | ||
``` | ||
|
||
- #### Install dependencies | ||
```bash | ||
$ cd Application | ||
$ npm install -g | ||
``` | ||
- #### Run Application | ||
```bash | ||
$ cd Application | ||
$ npm start | ||
``` | ||
- #### Running tests | ||
```bash | ||
$ cd Tests | ||
$ npm install -g | ||
$ npm test | ||
``` | ||
|
||
## Deploying on Azure | ||
|
||
Any change to this repository will result in triggering a workflow to build and deploy this app on azure as an app service. Learn more about [Azure App Service](https://docs.microsoft.com/en-us/azure/app-service/) and [Github Actions](https://docs.github.com/en/actions). | ||
|
||
## Contributing | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments. | ||
|
||
|
||
## License: | ||
|
||
See [LICENSE](LICENSE). |
19 changes: 0 additions & 19 deletions
19
github/node/plain/webappCosmosDBWithTests/Application/README.md
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Nodejs web application | ||
|
||
Sample Nodejs web application built on [visual studio code](https://code.visualstudio.com/). | ||
|
||
Language| Framework | Runtime | Platform | Author | | ||
| --------| -------- | -------- |--------|--------| | ||
javascript| simple node js | node | Azure Web App| | | ||
|
||
## Installation | ||
|
||
For development, you will need Node.js and a node global package | ||
|
||
### Node | ||
- #### Node installation on Windows | ||
|
||
Just go on [official Node.js website](https://nodejs.org/) and download the installer. | ||
Also, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)). | ||
|
||
- #### Node installation on Ubuntu | ||
|
||
You can install nodejs and npm easily with apt install, just run the following commands. | ||
|
||
$ sudo apt install nodejs | ||
$ sudo apt install npm | ||
|
||
- #### Other Operating Systems | ||
You can find more information about the installation on the [official Node.js website](https://nodejs.org/) and the [official NPM website](https://npmjs.org/). | ||
|
||
If the installation was successful, you should be able to run the following command. | ||
|
||
$ node --version | ||
v8.11.3 | ||
|
||
$ npm --version | ||
6.1.0 | ||
|
||
If you need to update `npm`, you can make it using `npm`! Cool right? After running the following command, just open again the command line and be happy. | ||
|
||
$ npm install npm -g | ||
|
||
## Running | ||
|
||
- #### Clone this repository | ||
|
||
```bash | ||
$ git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.git | ||
``` | ||
|
||
- #### Install dependencies | ||
```bash | ||
$ cd Application | ||
$ npm install -g | ||
``` | ||
- #### Run Application | ||
```bash | ||
$ cd Application | ||
$ npm start | ||
``` | ||
- #### Running tests | ||
```bash | ||
$ cd Tests | ||
$ npm install -g | ||
$ npm test | ||
``` | ||
|
||
## Deploying on Azure | ||
|
||
Any change to this repository will result in triggering a workflow to build and deploy this app on azure as an app service. Learn more about [Azure App Service](https://docs.microsoft.com/en-us/azure/app-service/) and [Github Actions](https://docs.github.com/en/actions). | ||
|
||
## Contributing | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments. | ||
|
||
|
||
## License: | ||
|
||
See [LICENSE](LICENSE). |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Nodejs web application | ||
|
||
Sample Nodejs web application built on [visual studio code](https://code.visualstudio.com/). | ||
|
||
Language| Framework | Runtime | Platform | Author | | ||
| --------| -------- | -------- |--------|--------| | ||
javascript| simple node js | node | Azure Web App| | | ||
|
||
## Installation | ||
|
||
For development, you will need Node.js and a node global package | ||
|
||
### Node | ||
- #### Node installation on Windows | ||
|
||
Just go on [official Node.js website](https://nodejs.org/) and download the installer. | ||
Also, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)). | ||
|
||
- #### Node installation on Ubuntu | ||
|
||
You can install nodejs and npm easily with apt install, just run the following commands. | ||
|
||
$ sudo apt install nodejs | ||
$ sudo apt install npm | ||
|
||
- #### Other Operating Systems | ||
You can find more information about the installation on the [official Node.js website](https://nodejs.org/) and the [official NPM website](https://npmjs.org/). | ||
|
||
If the installation was successful, you should be able to run the following command. | ||
|
||
$ node --version | ||
v8.11.3 | ||
|
||
$ npm --version | ||
6.1.0 | ||
|
||
If you need to update `npm`, you can make it using `npm`! Cool right? After running the following command, just open again the command line and be happy. | ||
|
||
$ npm install npm -g | ||
|
||
## Running | ||
|
||
- #### Clone this repository | ||
|
||
```bash | ||
$ git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.git | ||
``` | ||
|
||
- #### Install dependencies | ||
```bash | ||
$ cd Application | ||
$ npm install -g | ||
``` | ||
- #### Run Application | ||
```bash | ||
$ cd Application | ||
$ npm start | ||
``` | ||
- #### Running tests | ||
```bash | ||
$ cd Tests | ||
$ npm install -g | ||
$ npm test | ||
``` | ||
|
||
## Deploying on Azure | ||
|
||
Any change to this repository will result in triggering a workflow to build and deploy this app on azure as an app service. Learn more about [Azure App Service](https://docs.microsoft.com/en-us/azure/app-service/) and [Github Actions](https://docs.github.com/en/actions). | ||
|
||
## Contributing | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments. | ||
|
||
|
||
## License: | ||
|
||
See [LICENSE](LICENSE). |