Skip to content

ebz8/ElodieBoinZanchi_12_050222-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SportSee

Openclassrooms Front-End | P12 | VERSION 1.0 |

image image image Netlify Status

with Create React App, Sass, Recharts, JsDoc & better-doc

live app demo on Netlify & live documentation here

Prerequisites

1 | Back-end

  1. Download or clone the back-end's repository :
git clone https://github.com/ebz8/P9-front-end-dashboard.git
  1. Install dependencies :
# NPM
npm install

# Yarn
yarn install
  1. Launch back-end on port 3000 (default port) :
# NPM
npm run start

# Yarn
yarn dev

2 | Front-end

  1. Clone this repository :

git clone https://github.com/ebz8/ElodieBoinZanchi_12_050222-.git

  1. Install dependencies:
# NPM
npm install

# Yarn
yarn install
  1. Launch dev server on port 3001 :
# NPM
npm start
  1. Front-end is now rendered at URL http://localhost:3001 with mocked data. If you want to switch to real backend data, go to my-app/src/data/config.js (this file) and set currentUrl constant from urlMockAPI to urlAPI.

  2. You also can build a production version and serve it with a static server :

# NPM
npm run build
npm run serve

# Yarn
yarn global add serve
serve -s build