Skip to content

Django REST Framework project using Postman for automated testing

Notifications You must be signed in to change notification settings

n5hossai/POKEMON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POKEMON

This is a Django REST Framework project, where I created an API for pokemon, which maintains the basic functionalities involving CRUD

Installing and setting up

  • Clone the repo in your local directory
  • Create a virtual env (here named as .venv) in your local directory
python -m venv .venv
  • Activate the virtual env with (if in windows):
.venv\Scripts\activate
  • Then install all the requirements using pip command
 pip install -r requirements.txt
  • Now make any migrations if needed using
python manage.py makemigrations
python manage.py migrate
  • Create a superuser using:(if you want to make/see changes from the admin portion of django)
python manage.py createsuperuser

Using the API:

  • Using your browser or postman, visit and implement the CRUD functions
  • OR, run:
python consume.py

to GET all the objects from the API. Change/Edit the consume.py file to play with the API

About

Django REST Framework project using Postman for automated testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages