Welcome to the codebase of the Zero Waste Challenge, a gamified platform designed to promote sustainable living through personalized goals, community challenges, and collaborative efforts.
This repository contains the implementation of the Zero Waste Challenge platform, encompassing backend services, frontend interfaces, and supporting tools.
For detailed information, please refer to Software Requirement Specifications page
** TO BE COMPLETED**
For detailed information on project requirements, design diagrams, and meeting notes, please refer to our Project Wiki.
This project supports Docker for consistent development and deployment environments.
-
Build and run the application:
docker-compose up --build
-
Stop the containers:
docker-compose down
-
Rebuild without cache (if needed):
docker-compose build --no-cache
-
Build and run the the backend server on docker:
docker-compose up --build
-
On a seperate terminal, start React Native
npx react-native start
-
On yet another seperate terminal, start your emulator
emulator <YOUR_EMULATOR_DEVICE_NAME>
-
On any terminal, start the app
npm run android
Dockerfile: Defines the base image and build process for backend/frontenddocker-compose.yml: Manages multi-container setup including services (e.g. web, db)volumes: Sync local changes without restarting containersports: Exposes the app on your local environment (checkdocker-compose.ymlfor specific ports)
- View running containers:
docker ps
- Enter container shell:
docker exec -it <container_name> /bin/bash
Make sure Docker and Docker Compose are installed on your system. For installation, visit https://docs.docker.com/get-docker/