Thank you for considering contributing to this project 🚀
git clone https://github.com/l2dnjsrud/PhantomCrowd.git
cd PhantomCrowdThe backend is located in the backend/ directory.
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload- Runs on: http://127.0.0.1:8000
- Auto-reloads on code changes
The frontend is located in the frontend/ directory.
cd frontend
npm install
npm run dev- Runs on: http://localhost:5173 (default Vite port)
cd backend
pytest tests/ -v-
Fork the repository
-
Create a new branch
git checkout -b feature/your-feature-name
-
Make your changes
-
Commit your changes
git commit -m "feat: add contributing guide" -
Push to your fork
git push origin feature/your-feature-name
-
Open a Pull Request
app/→ Core application code (API routes, logic, main app)data/→ Data files, datasets, or local storage resourcesscripts/→ Utility scripts (setup, preprocessing, automation)tests/→ Backend test cases.env.example→ Example environment configurationrequirements.txt→ Python dependenciespyproject.toml→ Project configuration
src/→ Main frontend source code (components, pages, logic)index.html→ Entry HTML filepackage.json→ Project dependencies and scriptsvite.config.ts→ Vite configurationtsconfig*.json→ TypeScript configuration filesenv.d.ts→ Type definitions for environment variables
docs/→ Documentation, reports, and screenshotsdocker-compose.yml→ Multi-container setupDockerfile→ Container definitionCONTRIBUTING.md→ Contribution guidelinesLICENSE→ Project license
- Follow clean code practices
- Write meaningful commit messages
- Keep PRs small and focused
Thanks for contributing ❤️