Because the project services communicate interchangeably with a single PostgreSQL database (with vector support for AI searches), we bundle it into a local container for quick deployment rather than managing a complex cloud database during development.
Navigate to the root directory where docker-compose.yml resides.
Ensure Docker Desktop is running.
Open your terminal and run:
docker-compose up -d
Confirm that both PostgreSQL (:5432) and pgAdmin (:5050) containers are running.
You can visit http://localhost:5050 (Using admin@Slothub.com / admin) to visualize your tables once the backend initializes them.
To handle document uploads (like PDF files) used for generating quizzes and roadmaps, we need an AWS S3 bucket.
Slothub-upload-2026).ap-southeast-1).AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY for an IAM user who has AmazonS3FullAccess. Save these securely.By setting up both the PostgreSQL connection and securing the AWS S3 credentials, the basic infrastructure requirements for Slothub have been established. Proceed to the next section to start and test the individual microservices.