Coder Social home page Coder Social logo

rest-framework-tutorial's Introduction

REST framework tutorial

Build Status

The is my fork of the example code from the Django REST Tramework tutorial. It´s a base to discuss further topics, such as testing and deployment.

Why the DRF Tutorial?:

  • Assuming you´re using Django, it´s likely you´re using Django REST Framework, so hopefully it should be familiar to you.
  • It´s fully featured enough to be realistic, but...
  • ...not so big as to get in the way.

Need Help?

If the steps here don´t work for you, Open a New Issue to discuss.


Preparation

  1. Clone this tutorial repo.

  2. Create a virtual environment.

  3. Install requirements.

    pip install -r requirements.txt

  4. Set up the local SQLite database:

    1. Migrate: ./manage.py migrate.

    2. Load fixtures: ./restore.sh

      This script flushes the databases and then reloads initial fixture data.

    3. Create your own admin user: ./manage.py createsuperuser.

That´s it. You´re ready to go.

Guides

Using Django with Visual Studio Code & Azure

  1. Using Django with VS Code.
  2. Deploying Django to the Azure App Service.
  3. Adding CI & CD with Azure Pipelines.
  4. Serverless Django with Azure Functions.

rest-framework-tutorial's People

Contributors

tomchristie avatar carltongibson avatar jpadilla avatar markotibold avatar xordoquy avatar chadwhitacre avatar qubitron avatar lurst avatar parisk avatar jmsmkn avatar

Watchers

James Cloos avatar

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.