- Clone the repo
- Run
npm install
in a root so that a server packages are installed - Enter to a client directory repeating the procedure of
npm install
- Install Redis Linux or Windows
- Install Postgres
- Connect to Postgres through any DBMS like Valentina
- Execute SQL commands in the database.sql file in the DBMS or psql
- Execute
npm run dev
in the root directory to run server with client concurrently. - Configure environment variables in .env file, add [Clarifai] API KEY (https://www.clarifai.com/)
The list of variables to configure:
SERVER SIDE:
DB_HOST DB_USER DB_PASS DB_PORT BE_SERVER_HOST BE_SERVER_PORT REDIS_HOST CLARIFAI_API
CLIENT SIDE:
REACT_APP_BE_SERVER_HOST REACT_APP_BE_SERVER_PORT