This project contains two folders:
- server: Contains the express server that will communicate with the react app
- website: Contains the react app website that communicates with the express app
Normal express server with JWT authentication via cookies.
It is secured with an access token and with a refresh token, a good explanation on how these work is here.
A docker-compose.yaml file is also present that fetches a psql image and runs it, so you do not have to install psql locally.
The config for connecting with the psql image is located in the ornconfig.json
file, adjust the config where needed.