- Node.js v16.15.0 or above
- PostgreSQL v14.5 or above
- Install the dependencies by running
npm install
in the directoriesapp/
andserver/
- Start SQL server and correct the database connection data in
server/database.js
- Create the table
items
:
CREATE TABLE users (
ID SERIAL PRIMARY KEY,
DATE DATE,
NAME VARCHAR(30),
AMOUNT INTEGER,
DISTANCE FLOAT8
);
- Start the applications by running
npm start
in the directoriesapp/
andserver/