LambdaMart is an online distributed marketplace for purchasing "THINGS". It is a distributed system that consists of a frontend, a broker, and a backend. The frontend allows users to browse. and purchase items, and was built using React and Gatsby. The broker is a GraphQL server that acts as a middleman between the frontend and the backend. The backend is a REST API using GraphQL that manages the items and vendors.
To run LambdaMart:
- Ensure that Docker is installed (install here)
- Ensure you are currently in the root directory (should see folders called “lambda-mart”, “veggie-gophers”, etc.)
- Run the following command:
docker-compose up --build
- After the build is complete, the website will be available through
http://localhost:8000/
The report can be found in the root of the repository (REPORT.pdf)
The video can be found here
To create a new vendor using the template tool:
-
From the root directory, enter the command
python ./template/main.py
-
Enter the name of the vendor. This will create a new folder with a sanitised version of the vendor's name along with the necessary files