GithubHelp home page GithubHelp logo

newsfeed's Introduction

News Feed

This is a project that helps beginners get started with Dart and Flutter by building a simple News Feed application. This project is unique in that it shows you can you can make HTTP requests to a Django backend server that's running locally on your machine. This can be helpful to those who want to know how to develop a backend server and can have everything running on their local machine instead of using services like firebase in order to develop a mobile application.

In order to test out this project, follow these steps:

  • clone the repository
  • clone the simple server which can be found under https://github.com/linkedweb/simple-server
  • setup either an android or ios emulator on your local machine
  • if using android, set the primary domain in the HTTP requests in lib → src → app.dart, and in lib → src → widgets → posts.dart to the following: http://10.0.2.2:8000
  • if using ios, set the primary domain in the HTTP requests in lib → src → app.dart, and in lib → src → widgets → posts.dart to the following: http://localhost:8000
  • navigate into the newsfeed project folder you cloned and run the following to install packages: flutter pub get
  • run the mobile app with the following command: flutter run
  • navigate into your simple-server and run it, you can follow the steps shown in that repository in order to run it on your local machine

newsfeed's People

Contributors

brkicb avatar

Watchers

 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.