stevorr / Express-React-Boilerplate

react, express, tailwind starter template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express-React-Boilerplate

This React/Express template is built with Create React App, Express Generator, and Tailwind CSS to serve as a starter point for future React app projects using functional components + hooks

Create React App

See the official Create React App readme for more info

Express

See the official Express readme for more info

How to Run App

Prereqs: Node.js

Install backend dependencies

In a terminal, navigate to the backend folder and run:

npm i

to install node_module package dependencies

Start Express backend server

In a terminal, navigate to the backend folder and run:

npm start

to start the Express server on http://localhost:3001

Install frontend dependencies

In a terminal, navigate to the client folder and run:

npm i

to install node_module package dependencies

Start React frontend dev server

In a terminal, navigate to the client folder and run:

npm start

to start the React app in development mode on http://localhost:3000

Open Browser to view app

Open http://localhost:3000 to view the React app in the browser

About

react, express, tailwind starter template


Languages

Language:JavaScript 79.7%Language:HTML 18.6%Language:CSS 1.7%