Thank you for your interest in contributing to Progress Bar! 🎉 This project is a Python API deployed on Vercel that generates SVG badges 🏅 to visualize progress.
Before you begin contributing, please ensure you have the following prerequisites:
- 🐍 Python 3.10+
- 📦 pip (Python package manager)
- ▲ Vercel CLI (for testing deployments)
- 🔧 Git
-
Clone the repository:
git clone [email protected]:guibranco/progressbar.git cd progressbar
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
-
Install dependencies:
pip install -r requirements.txt
To start the API locally, use the following command:
vercel dev
This will run the API in a local environment using Vercel. 🌍
Before submitting a pull request, test your changes:
- Run
vercel dev
and verify that your changes work as expected. - Use Postman, cURL, or a browser to send requests to the local API. 🌐
After pushing your branch to GitHub, open a Pull Request (PR). Vercel will automatically create a preview deployment. Use the provided URL to test your changes before merging. 🚀
- Fork the repository (if you haven’t already).
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "✨ Add a brief description of your changes"
- Push to your branch:
git push origin feature/your-feature-name
- Open a pull request on GitHub. 🔥
- Follow the Pull Request Template. 📝
- Ensure your code follows best practices and includes comments where necessary. 💡
- Write clear commit messages. ✍️
- Squash unnecessary commits before submitting. 📌
- Wait for CI checks and Vercel preview tests to pass before requesting a review. ✅
If you need any help, feel free to open an issue on GitHub 🐞.
Happy coding! 🎉🚀