Welcome to the Hive Fundraiser backend repository. This project was created for a software testing lesson. This is where all the magic happens to support our fundraising platform.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
git clone https://github.com/Hive-Fundraiser/Hive-Backend.git
docker compose up
pip install virtualenv
Windows setup:
#creating the enviroment
python -m venv venv
#activating the enviroment
venv\Scripts\activate
#deactivating enviroment
deactivate
Linux and Mac setup:
#creating the enviroment
python -m venv venv
#activating the enviroment
source venv/bin/activate
#deactivating enviroment
deactivate
then installing the requirements:
pip install -r requirements.txt
in order to run the project you need to use either ways below
default and development settings
python manage.py runserver
pytest .
- Setting up project with Docker (dockerfile/docker-compose)
- Setup Django Model for a Blog and AbstractBaseUser
- Implement Class Based Views
- Django RestFramework and Serializers (FBV)
- ClassBasedViews in RestFramework (views,generic,viewset)
- Api Documentation with swagger and redoc
- Authentication API (Token/JWT)
- Reformat and Lint (flake8,black)
- Django TestCase and PyTest
- Django CI with github actions
- Populate Database with Faker and Django Commands
- Cores Headers
- Load Testing with Locust
- Get ready for deploy (gunicorn/nginx)
- Use postgres sql as a database
- Use google smtp server
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Your Name - Initial work - YourName
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone whose code was used
- Inspiration
- etc