See our monorepo for instructions on how to deploy CooperCasino.
Clone the repo (with the recursive flag!) by running
$ git clone --recurse-submodules https://github.com/ECE-366-Final-Project/Back-End.git
Dependencies:
Make sure that docker and docker-compose are installed
See the Docker docs for instructions!!!!!!!!!!
Build and initialize the project with
$ docker compose up --build -d
Ensure that ports 8080
and 5432
are not already bound!
Run the command line interface by typing
python3 commandline/cmdline_rev2.py
Sample ping request (Default port is 8080
)
$ curl "localhost:<PORT>/Ping"
Formatting for API requests
(localhost only if API is running locally)
$ curl "localhost:<PORT>/<COMMAND>?<param1>=<value>&<param2>=<value>"