Giter Club home page Giter Club logo

ultimate-react-boilerplate's Introduction

Ultimate React Boilerplate

Main

Netlify Status

What is it?

Iโ€™m a React Typescript boilerplate with a WIP backend baked in (thanks to Supabase) ๐Ÿ˜› Set up your next project/prototype with minimal input, so you can do what you do best, build and test amazing new products ๐Ÿ”ฅ

You can see me in action here.

What's in the box?

Setup

OBVIOUS NOTE: Replace "PROJECT_NAME" with your own project's name ๐Ÿ˜‰

git clone https://github.com/shaunsaker/ultimate-react-boilerplate.git PROJECT_NAME
cd PROJECT_NAME
yarn
rm -rf .git && git init && git add . && git commit -m "init" # reset git and commit
npm pkg set name="PROJECT_NAME" # change package.json name

Running

yarn dev

Deployment

I'd recommend using Netlify for deployment and connecting the site to your Github repo so that new deploys are triggered on every push to master.

Generating Public Assets

After spending many hours building an app, I've found that having to manually generate public assets is one of the most annoying things ever! So I created a script to do this for you ๐Ÿ˜› All you need to do is:

  1. Update ./public/icon.svg with your logo. It should be a square svg, size does not count in this case ๐Ÿ˜‰
  2. Customise ./app.json.
  3. Run the script:
yarn ts-node ./scripts/generateAssets

And boom ๐Ÿ’ฃ๐ŸŽ†, you have all the public assets you'll need, optimised and including a PWA setup ๐Ÿ˜Žโœ…

Here it is in action:

Generating assets

ultimate-react-boilerplate's People

Contributors

shaunsaker avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.