- Run PostgresSQL
- Create a table:
CREATE TABLE summary (
ID SERIAL PRIMARY KEY,
name VARCHAR(80),
count INTEGER,
distance INTEGER,
date date
);
- Import file 'data' to the table
- Fill .env-example in ./src/backend and rename that to .env
- Type a PORT from .env in "proxy": "http://localhost:PORT" from package.json
- In ./
yarn install
- and ./src/backend
yarn install
start backend in ./src/backend
start fronend in ./
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Done!