Skip to content

digitallyinduced/thin-react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thin React Starter

Usage

Create a new project:

npx degit digitallyinduced/thin-react-starter myproject

On first start install the npm dependencies:

npm install

Set the BACKEND_URL in .env to your project's url:

# .env
BACKEND_URL="https://REPLACE ME.di1337.com"

After this you can start the web server and esbuild watcher:

npm run dev

Bundling for Production

export BACKEND_URL="https://REPLACE ME.di1337.com"
npm run build