uriklar / 1km.co.il

Fighting for democracy during lockdown.

Home Page:https://1km.co.il

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fighting for democracy during lockdown.

We're looking for maintainers to help lead the project,
see #22 for details.


Welcome to 1km

Something bad is happening in Israel, and we cannot afford to stand still. We've got to React.

Introduction

  • A solid knowledge of (and a desire to) React is recommended before dwelling into the code.
  • Firebase is here to keep our the data and host our assets.
  • We color our protest signs with styled-components.
  • Map is generated with Leaflet using react-leaflet.

Installation

  • Fork the repository.
  • Install dependencies using yarn install
  • Start coding!

Advanced Installation

If you want to tinker with the database, view the UI & set up security rules, you need to get your own firebase project.

  • Go to the firebase console and create a new project. Call it whatever you want.
  • Add a new web app from the dashboard, by clicking the </> icon.
  • Give it whatever name you want. No need for hosting.
  • Set up the enviorment to work with your project:
    Inside the project directory, cp .env .env.local and fill the REACT_APP_FIREBASE_* variables with the firebase configuration being shown.
  • Go back to firebase dashboard and select Cloud Firestore from the sidebar. Click Create Database, start in test mode, and press enable.

Got an installation issue, want to bring up your ideas or just up for a chat? Join our discord channel.

About

Fighting for democracy during lockdown.

https://1km.co.il


Languages

Language:JavaScript 94.4%Language:HTML 3.1%Language:CSS 1.9%Language:Shell 0.5%