Giter Site home page Giter Site logo

flutter-with-django's Introduction

Flutter With Django

Prerequisites :

Step-by-Step Walkthrough

  • Extract the downloaded starterKit.zip folder.
  • Open the starterKit folder and rename it to your requirement.
  • Now open the folder and switch to the djangoBackend named folder.
  • Create a virtual environment to install all the dependencies by providing command virtualenv virtualenv_name (in place of virtualenv_name, provide your preferred name).
  • Switch to the virtual environment by providing the command .\virtualenv_name\Scripts\activate.ps1.
  • Run the command pip install -r requirements.txt.
  • After all the dependencies are installed, run the command python manage.py runserver.
  • This will run the local django server and you will be able to use it with Flutter.
  • To access the admin panel on route http://localhost:8000/admin, the default username and password is admin.
  • Now, navigate to the flutterapp named folder and then run the command flutter pub get.
  • Start your emulator or simulator to run the flutter application in your preferred device.
  • Inside the lib folder of flutter project structure, select service_class file and set your localhost url according to the device.
  • Move to the main.dart file in the lib folder of the flutterapp project structure and then hit command flutter run lib\main.dart.

flutter-with-django's People

Watchers

Aditya Verma 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.