Skip to content

jossi87/climbing-web

Repository files navigation

About

Frontend (written in React) for climbing websites. Backend: https://github.com/jossi87/climbing-ws.

‼️ Prerequisites

This project uses Yarn as package manager

 npm install --global yarn

Note: While installing new dependecies, it is necessary to use "yarn add -D" if its a dev dependency or just "yarn add" if its not. Do not use npm install, this will create a new package-lock.json which will interfere with the yarn.lock.

▶️ Run Locally

  git clone https://github.com/jossi87/climbing-web.git
  cd climbing-web
  yarn
  yarn dev

Different API origins

To use different environments, use the REACT_APP_API_URL environment variable. For example, here's one way to start a dev server pointing to a different site:

REACT_APP_API_URL=https://klatreforer.tromsoklatring.no yarn dev

🚩 Deployment

To deploy this project run

  yarn build

Check if code is ES6 compliant

  yarn es6-check

⚠️ License

Distributed under the GNU GENERAL PUBLIC LICENSE (Version 3): https://brattelinjer.no/gpl-3.0.txt

🔗 Product

🤝 Contact