Giter VIP home page Giter VIP logo

frontend's Introduction

Participedia Front-end code

Greenkeeper badge

This is a static content front-end site which powers the upcoming version 3 of Participedia.net.

It currently uses hjs-webpack for the basic build/update configuration (although see #16)

Development Approach

React where appropriate; react-router for all routes; react-intl localization (all copy should be localized). Auth0 for authentication. Material-ui as baseline UI framework.

Requirements

  • node and npm v6 or later (node is just used in the build process)

Setup

Clone the repo:

npm clone [email protected]:participedia/frontend.git

npm install:

npm install

Install SASS (see https://sass-lang.com for instructions)

Configuration

Copy sample.env to .env, and adjust it to fit. In general, the only choice will be whether to use your own API server (in case you're changing the server at the same time) or the staging site.

The sample.env file has both settings, you just uncomment whichever one you want to use in your setup.

Development

npm start will start a dev server which will detect code changes (both in JS and CSS) and do "hot reloading". It will not detect changes to the webpack config for example.

Deployment

npm build:js

Contributing

We use Prettier with default settings to enforce coding style.

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.