Go to the root directory in the source code and find out the below-mentioned files. This architecture helps in creating a big modular App:
backend-my-app /* Backend of the code goes here */
server.js
package.json /* Backend dependency */
build/ /* Optional for deployment of Frontend Build */
public/
src/ /* Frontend Sourcecode */
global/ /* Components getting used everywhere */
header.css
header.js
main/
Kitchen.js
PlaceOrder.js
UpdatePredicted.js
App.js /* Routing logic and component assembly part */
package.json /* Frontend dependency */
cd backend-my-app
npm install
node server.js
This project was bootstrapped with Create React App.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
For deployment, put the build code into the backend-my-app/build folder
and then start the express server
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.