Git Product home page Git Product logo

wastiauxwilliam_12_04082021's Introduction

prerequisites

  • react-app

  • react-dom

  • react-router

  • react-script

  • axios

  • recharts

Preview

You can see the actual project here :

https://sportify.pages.dev/

Clone the repo

run the following command to clone the depo

 git clone https://github.com/Willy-tec/wastiauxwilliam_12_04082021.git

Installation

run the following command to install all the dependency

 npm install

Run the server

 npm start

Configuration for backend

The backend server is actually hosted on heroku.app. The server can turn into pause mode, so, it's possible to take some time when you launch your app.

You can use the backend server locally, but you will need to change a little bit in the service/index.js file

All you need to do is to clone the other project

git clone https://github.com/Willy-tec/p12_api_dashboard

Run :

npm install

and

npm start

All the information about the api can be found on the depo, like endpoint and other things. [https://github.com/Willy-tec/p12_api_dashboard]

Be carrufull about the port.

The backend need to be on port 3000, and the front-end on another port.

in the service/index.js

find the line(line 16) :

const config = configArr[1]; // Define this number to 1 if you want to use heroku, or 0 if you want to use local

The service actually load a json file containing an array with the url to use.

wastiauxwilliam_12_04082021's People

Contributors

willy-tec 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.