This is the repository for the frontend of deens.com. This project was bootstrapped with Create React App and then later moved over to React app rewired.
$ git clone git@github.com:deens-com/frontend.git
$ cd frontend
# install dependencies
$ yarn
We have some yarn specific code in our package.json
so we recommend that you use yarn for package management with this repo.
# export the backend endpoint to use
$ export REACT_APP_PARSE_SERVER_URL=https://staging-api.deens.com
# start the web app
$ yarn start
We use Prettier to format the code for this repo.
Before committing, please run yarn prettier-all
to format your code or add Prettier to the pre-commit
hook to automatically take care of formatting.
$ touch .git/hooks/pre-commit
$ chmod +x .git/hooks/pre-commit
$ echo '''#!/usr/bin/env bash
yarn lint-staged''' > .git/hooks/pre-commit
If you're stuck somewhere while working on something, create an issue and we'll help you out.
Licensed under the GNU public license V3.0. See LICENSE for more information.
Cross-browser Testing Platform Provided by Sauce Labs along with some great Open Source ❤️