This project was bootstrapped with Create React App. Then an Express server was added in the server
directory. The server is proxied via the proxy
key in package.json
.
Clone the project, change into the directory and install the dependencies.
git clone https://github.com/philnash/react-express-starter.git
cd react-express-starter
npm install
Create a .env
file for environment variables in your server.
touch .env
Start the server
You can start the server on its own with the command:
npm run server
Run the React application on its own with the command:
npm start
Run both applications together with the command:
npm run dev
The React application will run on port 3000 and the server port 3001.
The twilio branch is a similar setup but also provides endpoints with basic Access Tokens for Twilio Programmable Chat and Twilio Programmable Video. You can use the project as a base for building React chat or video applications.
DEPRECATED. This project is not maintained anymore. Starter for Express, React, Redux, SCSS applications Features Webpack development and production environment configuration Webpack SCSS configuratio
Express, React/Redux, MySQL Boilerplate Get Started 1. Prerequisites NodeJs NPM - Node package manager MySQL - Relational database management system (RDBMS) 2. Installation On the command prompt run t
express-react-typescript A boilerplate to build web application using Express and React with help of Typescript. It's configured to separate client-side JavaScript and CSS bundles and your files as as
Stripe Server Checkout with React and Express Deprecated due to SCA: A full walkthrough tutorial of implementing this boilerplate project. SCA ready Tutorials: Stripe Server Checkout Stripe Webhook Fu
React Application with JWT Authentication Overview This is an example application that serves an ExpressJS JSON api to a React client application. The React application is configured for a basic JWT a
Full Stack React Express Application Introduction This repository contains a simple Full Stack Express / React application. It is intended to demonstrate as wide an array of features as possible while