Skip to content

LucasH15/hyponos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyponos

Description

This is a project for Studi

All in /doc is for Studi exam

Test

How to use this project in local

For back environment

You need to create .env file in root project and add :

DATABASE_URL provide postgresql config, ex: postgres://test:mypassword@localhost:5432/dev

DATABASE_SSL is a boolean to set SSL connection for database

CONTACT_EMAIL and CONTACT_EMAIL_PASSWORD is for form contact, the configuration is for google account

FRONT_URL is required for cors security

DATABASE_URL=""
DATABASE_SSL=""
CONTACT_EMAIL=""
CONTACT_EMAIL_PASSWORD=""
FRONT_URL="http://localhost:3000"

After that, you can run npm install

For front environment

You need to create .env file in root project and add :

REACT_APP_BASE_URL is the backend url for all requests

REACT_APP_BASE_URL="http://localhost:4000"

After that, you can run npm install

Root project

Run npm install and then npm dev to run the project