This is the repository for the frontend of demo.please.com. This project was bootstrapped with Create React App and then later moved over to React app rewired.
$ git clone git@github.com:PleaseDotCom/frontend.git
$ cd frontend
# install dependencies
$ yarnWe have a few yarn specific code in our package.json thus we recommend you use yarn for package management with this repo.
# export the backend endpoint to use
$ export REACT_APP_PARSE_SERVER_URL=https://please-api.herokuapp.com/parse
# start the web app
$ yarn startWe use Prettier for formatting the code for this repo.
Before comitting do run yarn prettier-all to format the code, or add it in the pre-commit hook and it'll be automatically taken care of.
$ touch .git/hooks/pre-commit
$ chmod +x .git/hooks/pre-commit
$ echo '''#!/usr/bin/env bash
yarn lint-staged''' > .git/hooks/pre-commitIf you're stuck somewhere while working on something create an issue or jump on to the Telegram group and we'll help you out.
Licensed under the MIT license. See LICENSE for more information.
