Skip to content

shaunagm/building-APIs-with-DRF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building APIs with Django REST Framework

Note: code_samples.md contains code samples for the training.

Getting set up

  1. Download this repository using git clone:

    git clone https://github.com/shaunagm/building-APIs-with-DRF.git
    
  2. Set up a virtual environment which uses Python 3. You may need to install virtualenv and/or install Python 3. Once you've got everything installed, you can create a virtualenv with the following command:

    virtualenv -p python3 venv
    

    Then, you can run the virtual environment with the command:

    source venv/bin/activate
    
  3. Next, install the project requirements:

    pip install -r requirements.txt
    
  4. Run the project and check that everything’s working. Navigate to the mysite directory and run:

    python manage.py runserver
    

    Then, you can open up the project in your browser. You should see a message telling you that you've finished setting up.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages