npm i && npm start
- Login to netlify account
- Create new Git project
- Select your repo from bitbucket/gitlab/github
- set the build comand as
npm run build
- set the target directory as
public/
- done.
Each time you push your commit to the master, it will automatically try to build your project on netlify. If there is no error while building, it will automatically re-deploy after build is finished.