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
export BACKEND_URL="https://REPLACE ME.di1337.com"
npm run build