Giter Site home page Giter Site logo

haparlament / haparlament-web-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 6.11 MB

Nonviolent Video Communication Platform

HTML 2.37% JavaScript 37.39% CSS 12.48% TypeScript 42.42% SCSS 5.34%
firebase hebrew israel nonviolent-communication web-app

haparlament-web-app's Introduction

HA-Parlament

Frontend and backend of the Parlament app.

Guidelines

  • Use node 16.20.0-lts
  • Please work on your features in separate branches, and create a new Pull request when you want to merge to main branch.
  • If PR has significant changes, please request approval from the core team.
  • Try to keep PR small and single Purpose.
  • Don't push code without ensuring it is working properly

Technologies

  • Firebase
  • Node/Express
  • React

Repo Structure

The project is based on Firebase thus takes the repo structure from Google's Firebase best practices.

  1. Backend is located under functions and has a seperate package.json. It is an Express app built on top of Firebase cloud functions.
  2. Frontend is located under src and is a React app which is hosted via Firebase hosting service.

Development

  1. make sure you are running on node16.20.0-lts
  2. install firebase tools globally npm install -g firebase-tools
  3. you should make sure you are added to haparlament project on firebase and receive required credentials.
  4. run firebase init emulators - pick haparlament as the project, and answer all other questions with suggested values.

Backend

From functions folder:

  • Local development:

    1. npm install
    2. npm run serve
  • Deploy: npm run deploy

Frontend

From the root folder:

  • Local development:

    1. npm install
    2. npm start
  • Deploy:

    • Go to main branch and git pull
    • npm run build && firebase deploy --only hosting

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.