<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          django-rest-angular2-exampleA simple example of a Django REST app + Angular2

          聯(lián)合創(chuàng)作 · 2023-09-21 07:19

          Angular 2 and Django REST Framework

          A simple example application where an Angular 2 app talks to an API running Django REST framework.

          Setup

          Install dependencies and run migrations to set up the app:

          • Create a virtualenv
          • Run ./build-app.sh

          Note: if you are unsure of how to build a virtualenv, uncomment the lines in the install script that will do it for you.

          Run the app

          Run the REST server:

          # in the exampleapp folder
          python manage.py runserver
          

          Start the Angular 2 app:

          # in the angular2 folder
          npm start
          
          瀏覽 26
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  超碰中文字幕在线 | 影音先锋男人av资源站 | 豆花视频 | 青娱乐美国1级黄片 | 人人人操人人人 |