Giter Site home page Giter Site logo

electorz-frontend's Introduction

ElectorZ - Frontend

ElectorZ is a political game based on geographical strategies.

This repository hosts the frontend of the ElectorZ web application, written in React. The code of the backend is available in the Electorz Backend repository.

Configuration

The entire project configuration is defined in an environment file, of which a template is present in the repository. To bootstrap the configuration, launch the following command:

cp .env.template .env

You may then modify the following environment variables to configure the ElectorZ frontend:

  • REACT_APP_FRONT_URL: URL of the frontend
  • REACT_APP_BACK_URL: URL of the backend

Installation

You can install the npm dependencies by launching the following command:

npm install

Besides, the ElectorZ backend must be launched for the frontend application to work. The easiest way to meet this requirement is to clone the ElectorZ Backend repository and follow its README.

Launching the application

The ElectorZ frontend application may be launched with the following command:

npm run start

You may then visit http://localhost:3000 to test the website locally.

See Also

Contributing to this application

This application started as personal project, but I welcome community contributions to it. If you find problems, please open an issue or create a PR against the ElectorZ Frontend repository.

You can also reach me by email at [email protected].

Licensing

Mozilla Public License Version 2.0.

See LICENSE to see the full text.

Author Information

This application was created in 2022 by Justin Béra.

electorz-frontend's People

Contributors

just1not2 avatar

Watchers

 avatar

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.