Calculogic is a full-stack, React and Go based project I wrote for my dissertation, now free to see and use.
It uses Docker-compose to run all of the containers necessary.
Features
- React/Tailwind based frontend.
 - REST API to communicate between server and client.
 - Go-based backend that dynamically proves any supplied logical formula.
 - Learning section on how to input values.
 - List of common formulae being solved.
 
How to run
Clone the repository, open a terminal at the root directory and run:
docker compose up --build
There is also a requirement to have some environment variables set for the server in an .env file to avoid leaking secrets. These variables are:
DB_HOST=<name>
DB_PORT=3306
DB_USER=<user>
DB_PASSWORD=<password>
DB_NAME=<name>
There is also a requirement for there to be a db.env file in the root directory next to the docker-compose.yml file which contains database configuration. These need to be the following:
MYSQL_DATABASE=<DB_NAME>
MYSQL_USER=<DB_USER>
MYSQL_PASSWORD=<DB_PASSWORD>
MYSQL_ROOT_PASSWORD=<root password>
```bash
docker compose up --build