Giter Site home page Giter Site logo

building-apis-with-drf's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.