All Projects → esausilva → Example Create React App Express

esausilva / Example Create React App Express

Licence: mit
Example on using create-react-app with a Node Express Backend

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Example Create React App Express

Strimpack
A platform for livestreamers to make a home for their audience.
Stars: ✭ 378 (+4.71%)
Mutual labels:  create-react-app, express
Winds
A Beautiful Open Source RSS & Podcast App Powered by Getstream.io
Stars: ✭ 8,530 (+2262.88%)
Mutual labels:  create-react-app, express
React Antd Admin
后台前端管理系统,基于react、typescript、antd、dva及一些特别优秀的开源库实现
Stars: ✭ 117 (-67.59%)
Mutual labels:  create-react-app, express
Nest Angular
NestJS, Angular 6, Server Side Rendering (Angular Universal), GraphQL, JWT (JSON Web Tokens) and Facebook/Twitter/Google Authentication, Mongoose, MongoDB, Webpack, TypeScript
Stars: ✭ 307 (-14.96%)
Mutual labels:  express
Colorme
Visualize CSS Color Functions?
Stars: ✭ 311 (-13.85%)
Mutual labels:  create-react-app
Smoke
Turns a Web Browser into a Web Server with WebRTC
Stars: ✭ 326 (-9.7%)
Mutual labels:  express
Express Starter
🚚 A boilerplate for Node.js, Express, Mongoose, Heroku, Atlas, Nodemon, PM2, and Babel. REST / GraphQL API Server | PaaS | SaaS | CI/CD | Jest | Supertest | Docker | MongoDB | PostgreSQL | Sequelize | Lodash | RxJS | JWT | Passport | WebSocket | Redis | CircleCI | Apollo | DevSecOps | Microservices | Backend Starter Kit | ES6
Stars: ✭ 353 (-2.22%)
Mutual labels:  express
Ktv Select music System
KTV点歌系统,含后台管理系统(完整版)
Stars: ✭ 305 (-15.51%)
Mutual labels:  express
Bulletproof Nodejs
Implementation of a bulletproof node.js API 🛡️
Stars: ✭ 4,369 (+1110.25%)
Mutual labels:  express
Nuxt Ssr
✨vue+nuxt+sass+node+express+MongoDB 实现的SSR项目。
Stars: ✭ 323 (-10.53%)
Mutual labels:  express
React Shrine
"Shrine" Progressive Web App sample built with React
Stars: ✭ 322 (-10.8%)
Mutual labels:  create-react-app
Antd Spa
Stars: ✭ 312 (-13.57%)
Mutual labels:  express
Express
⚡ Take existing Express.js apps and host them easily on cheap, auto-scaling, serverless infrastructure (AWS Lambda and AWS HTTP API).
Stars: ✭ 337 (-6.65%)
Mutual labels:  express
Express Promise Router
A lightweight wrapper for Express 4's Router that allows middleware to return promises
Stars: ✭ 309 (-14.4%)
Mutual labels:  express
Craco
Create React App Configuration Override, an easy and comprehensible configuration layer for create-react-app
Stars: ✭ 5,285 (+1363.99%)
Mutual labels:  create-react-app
Node Abc
《Node.js入门教程》
Stars: ✭ 306 (-15.24%)
Mutual labels:  express
Vue Chess
Multiplayer online chess game use Vue , Nodejs, Webpack, Em6, Socket.io, Mongodb, Express
Stars: ✭ 350 (-3.05%)
Mutual labels:  express
Express Promise
❤️ Middleware for easy rendering of async Query results.
Stars: ✭ 320 (-11.36%)
Mutual labels:  express
Grant
OAuth Proxy
Stars: ✭ 3,509 (+872.02%)
Mutual labels:  express
Express Stormpath
Build simple, secure web applications with Stormpath and Express!
Stars: ✭ 327 (-9.42%)
Mutual labels:  express

create-react-app React Project with Node Express Backend

Example on using create-react-app with a Node Express Backend

Usage

Install nodemon globally

npm i nodemon -g

Install server and client dependencies

yarn
cd client
yarn

To start the server and client at the same time (from the root of the project)

yarn dev

Running the production build on localhost. This will create a production build, then Node will serve the app on http://localhost:5000

NODE_ENV=production yarn dev:server

How this works

The key to use an Express backend with a project created with create-react-app is on using a proxy. We have a proxy entry in client/package.json

"proxy": "http://localhost:5000/"

This tells Webpack development server to proxy our API requests to our API server, given that our Express server is running on localhost:5000

Tutorial

Visit my blog post entry for a detailed step-by-step guide.

Deployed app

Giving Back

If you would like to support my work and the time I put in making tutorials, you can click the image below to get me a coffee. I would really appreciate it (but is not required).

Buy Me A Coffee

-Esau

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].