ashwinkshenoy / frontend

πŸ’œ Book curated trips in minutes

Home Page:https://demo.please.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

please.com

Book curated trips in minutes.

CircleCI

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.

πŸ— Development

$ git clone git@github.com:PleaseDotCom/frontend.git
$ cd frontend

# install dependencies
$ yarn

We 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

# start the web app
$ yarn start

🎨 Style Guidelines

We 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.

How to add Prettier to pre-commit hook?

$ touch .git/hooks/pre-commit
$ chmod +x .git/hooks/pre-commit
$ echo '''#!/usr/bin/env bash

yarn lint-staged''' > .git/hooks/pre-commit

Troubleshooting

If you're stuck somewhere while working on something create an issue or jump on to the Telegram group and we'll help you out.

πŸŽ“ License

Licensed under the MIT license. See LICENSE for more information.

About

πŸ’œ Book curated trips in minutes

https://demo.please.com

License:MIT License


Languages

Language:JavaScript 95.9%Language:CSS 2.9%Language:HTML 1.2%