A Django based CRUD API to manage employees in an organization.
It uses GraphQL to communicate between the frontend and the backend.
pip install virtualenvwrapper-win
mkvirtualenv test
test = name of virtual env
pip install -r requirements.txt
After ensuring that we are in a virtual environment (If not, use workon test
)
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
Visit development server http://127.0.0.1:8000/graphql
python manage.py createsuperuser
Enter desired credentials
Admin at http://127.0.0.1:8000/admin
- Query Employee Details
- Query based on department
- Create Update and Delete Employee Details
- Uses GraphQL
Django's Official Documentation
Python Graphene Documentation
Articles - 1, 2, 3, 4 and Tutorials