Coder Social home page Coder Social logo

pal's People

Contributors

nyalialui avatar

Watchers

 avatar

pal's Issues

Integrate prototype frontend into AWS

We already have an AWS instance we're using from an old project. let's use that to run our PAL mongo and frontend server so that way we don't have to invoke 3 CMDs on local machine.

Create frontend pages

Will use flask for this prototype. Simple create the html/css templates

  • create homepage (/mhistory). It only needs to show a sample record with links to other pages
  • create /mhistory/pname/. It only needs to print the name to console for now
  • create /mhistory/map/. It only needs to print the name to console for now
  • create /mhistory/date/. It only needs to print the timestamp to console for now

convert to Python 3.8

Since Python 2.7 is reaching EOL Jan. 1 2020, I need to make sure PAL works with python 3. I'm using the latest version python 3.8

Make the repo public

  • remove any sensitive information (even though the data will still be in the commit history)
  • fix any typos

Allow replay upload on website

Enable replay upload on website. This way users at LANs can just upload the replays instead of needing to run the desktop client on their own machine.

  • [frontend] create upload button html/css/handlebars
  • [backend] capture replay file in expressjs
  • [backend] run python script to extract replay data

Integrate MongoDB

Integrate MongoDB into our application. For now, we will use mongo on a local machine.

Visualize the data

Now we visualize the data. This may be a combination of post-processing the data from mongo documents in python and additional processing in JS on the actual templates.

Incorporate Blizz SSO on website

We need to incorporate user profiles to the system. So first lets enable this on the front end with passportjs. We may also need to create a Player's Database to keep track of player profiles.

Add more to desktop GUI

  • while PAL is still connecting to MongoDB, show a loading icon. perhaps a gif?
  • When PAL is running, show the running screen that shows the collected metric values for the current session. so ...
    • have a home screen that shows your record from current season: general W/L, W/L per race, W/L per map.
    • after every update to the replay folder show the opponent name, W/L record versus that opponent in the season, W/L record versus that opponent per map. After the update is finished, go back to the home screen.

Connect frontend to mongodb

Connect frontend routes to mongodb. Whenever user navigates to a route, simply print a sample record to console or web page

Port desktop application from PyQT5 to ElectronJS

We want to use ElectronJS instead of PyQT. We will have an easier time installing apps on desktop with ElectronJS since we won't need to worry about freezing the python application. This will require that we make s2protocol and MPYQ compatible with JavaScript or just simply call the python apps within JS for this prototype.

Convert frontend to node-express-handlebars

We got the prototype setup with flaskapp but I would rather use node-express-handlebars because it'll be easier to handle login with JS. Plus, mongo is initially designed for JS not python and we're started to see some limitations with PyMongo such as converting PyMongo.Cursor to dict requires Mongo Docs to be loaded into memory first.

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.