Skip to content

Build and deploy react with node backend to azure app service for linux

Notifications You must be signed in to change notification settings

skabhishek/azurepaaslinuxnodereact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactJs Front End with NodeJs Back End Sample App for Azure App Service (Linux)

This is a sample project to modify, run locally and deploy on Azure App Service for Linux using local git repository or using "az webapp up" command. The Express server has two API route: GET - /api/getexample, and POST - /api/postexample and these routes are being hit by React app.

Running the App Locally

From the project root directory run the following :

To restore npm packages.

npm install

To run the application locally.

npm run dev

This will launch the React app and run the server at the same time with the help of "concurrently".

It will navigate to http://localhost:3000 and will open the React app. Navigate Express server routes GET - http://localhost:5000/api/getexample, and POST - http://localhost:5000/api/postexample

How react run with node

About

Build and deploy react with node backend to azure app service for linux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published