Giter Site home page Giter Site logo

jetuplno's Introduction

jetuplno

This app tries to answer two pain points:

  • Where can I go so you won't create crowds? Since that are dangerous nowdays. Just look at the map.
  • WHY THE ^$@(%$% everyone comes here? Report that this place is full.

Map

On map you can see places that are nice to see ❤️ and if there are purple clouds its full at that place. If you see white clouds ☁️ place is empty.

Reporting location

If you see location that full or empty give us report! Just press respective button 🤗.

It sends your location only when you press button. We respect your privacy and battery time, so there is nothing going on in background.

Development

Backend

In server folder

Server is backed by Flask and Postgres and PostGIS. PostGIS is used only for types, but we expected operations on geometry in future.

Setup .env from .env.example

python main.py

Deployment gcloud app deploy (create env_vars.yaml)

DATABASE_URL is in postgresql+pg8000://<username>:<password>@/<database>?unix_sock=/cloudsql/<INSTANCE CONNECTION STRING>/.s.PGSQL.5432

Frontend

In frontend folder

It's simple React app with ugly hack around Google Maps Javascript API.

Setup .env from .env.example

npm start

Deployment npm run build && cp -r build/ ../../server/static/ and deploy backend


Code looks like shit, but it was created in less than 30 hours of elapsed real time and I still got to sleep 🙃 .

We ended up in top 7 from 31 projects in Hack the Crisis Slovakia 🙌 .

jetuplno's People

Contributors

kubobahyl avatar pomali avatar

Watchers

 avatar  avatar  avatar

Forkers

stanop

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.