2.4 KiB
🐍 Python GraphQL API
Python GraphQL API template application.
It's a multi user TODO list application with a clean architecture implementation.
🚀 Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
💼 Prerequisites
You need:
Python 3installed on your local machine. You will find installation steps for your platform on the python official website.- I recommend
pipenvfor virtual environment setup.
🖥 Installing
Clone the project.
Create a virtual environment and install dependencies with:
pipenv install
Activate the virtual environment with:
pipenv shell
Then launch the development server using:
uvicorn app.main:app --reload
The development server and GraphiQL API explorer are available on http://0.0.0.0:8000.
🎉 Enjoy!
🧪 Running the tests (Under construction)
Explain how to run the automated tests for this system
Break down into end to end tests
Explain what these tests test and why
Give an example
💅 And coding style tests
Coding style is enforced using black and isort.
isort .
black .
☁️ Deployment
Add additional notes about how to deploy this on a live system
🛠 Built with
- FastAPI - FastAPI framework, high performance, easy to learn, fast to code, ready for production
- Graphene - GraphQL in Python Made Easy
👩💻 Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
🆚 Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
✒️ Authors
- Ruidy - Initial work - Ruidy
See also the list of contributors who participated in this project.
👩⚖️ License
This project is licensed under the MIT License - see the LICENSE.md file for details
🤗 Acknowledgments
- Hat tip to anyone whose code was used
- Inspiration
- etc.