Sitemap
Geek Culture

A new tech publication by Start it up (https://medium.com/swlh).

Follow publication

Build and Deploy a Web Application With React and Node.js+Express

5 min readMay 3, 2021

--

The application

Back end

npm i express cors dotenv express-validator
Entry point file
models/server.js
routes/auth.js
controllers/auth.js

API Integration

controllers/homepage.js

Front end

npx create-react-app node-react
Folder structure and front end proxy
App.js
api/index.js
const artworks = await searchArtworks({ keyword });
components/homepage.js

Concurrently

npm i -D concurrently
Server’s package.json

Deployment

this.app.use(express.static(
path.join(__dirname,“../client/build”)));
models/server.js

--

--

Leandro Ercoli
Leandro Ercoli

Written by Leandro Ercoli

Computer Engineer — Full-stack web developer and multi-platform mobile developer

Responses (3)