Giter Club home page Giter Club logo

yeeter's Introduction

Yeeter - A Twitter parody

Run git clone https://github.com/Rashaad1268/Yeeter.git to clone the repo

Project structure

The src/ directory contains the source code

  • src/backend is a django project
  • src/frontend is a flutter app

Setting up the backend

  • cd Into the main directory

Run the following commands separately

pipenv install
pipenv shell
cd src/backend
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

And now the backend should be running at http://127.0.0.1:8000/

Setting up the frontend

  • cd Into the main directory

Run these commands

flutter pub get
flutter run -d device

NOTE: The web version doesn't work due to CORS issues

Making A web version of Yeeter

Currently Yeeter's mobile app version is made using flutter. If anyone tries to run Yeeter on the web using flutters web version it won't work due to CORS errors.

So will there be a web version?

Short answer: Yes hopefolly in the future

Some notes on the web version

  • Flutter won't be used for the web version of Yeeter. Instead a JavaScript framework will be used
  • In the future the web version will be in the src/ directory named web_frontend
  • This will be using a JavaScript framework instead of flutter. But until that is created only a mobile version of this app will exist

Feel free to create a web version of Yeeter by yourself using the existing backend

Contributing

Any contributions are welcome! I will write documentation later but until that you will have to figure stuff out alone ๐Ÿ˜”

yeeter's People

Contributors

rashaad1268 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

yeeter's Issues

Authentication cookies won't be set in the flutter web version

When a user logs in or signs up a request is sent to the backend to authenticate the user. The backend sets the sessionid cookie and some other cookies. But the browsers won't set the cookie because the backend is running on a different origin. To fix this we can create a proxy to the backend in the frontend, but flutter-web doesn't have a way to create proxies

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.