GreenShare is a not-for-profit platform that promotes a sustainable sharing economy by enabling local communities to exchange goods online securely and efficiently.
This command starts the backend (flaskapp), frontend (frontend), and database (db) services:
docker compose up --buildThe application will be available at: http://localhost:3000
Tests are located in the /tests directory and use pytest. To run tests manually:
docker compose run --rm testsThis starts a temporary container and runs all test cases in the tests/ folder.
The tests service is configured not to start automatically when using docker compose up.
When running:
docker compose upOnly frontend, flaskapp, and db services will be started.
To bring up tests only when needed, always use:
docker compose run --rm testsGreenShare/
├── backend/ # Flask backend source
├── frontend/ # Next.js frontend source
├── tests/ # Pytest test suite
├── docker-compose.yml # Multi-service Docker environment
└── README.md # Project instructions
- API: http://localhost:5000
- Frontend: http://localhost:3000
For any issues or setup questions, please contact the project maintainer.