sosbrumadinho / brumadinho_location

Conjunto de ferramentas para ajudar no resgate e localização das vítimas atingidas pelo rompimento da barragem que ocorreu recentemente em Brumadinho/MG
MIT License
868 stars 129 forks source link

VueJS frontend #57

Open jersobh opened 5 years ago

jersobh commented 5 years ago

Hi there, I'm working on a vuejs frontend, but I don't know how to use it after compiling, since it needs a webserver or run with node. It looks like this:

vuejs frontend

Edit:

qgustavor commented 5 years ago

I'm also started working on one, but a simpler one keeping the Bootstrap layout. Check #58.

zoelner commented 5 years ago

Eu recomendo utilizar docker para isso, caso tenha o "build" posso subir o container para você, se o server tiver suporte para isso.

I recommend using docker for this, if you have the "build" I can upload the container to you, if the server supports it.

Translated by Google translator

jersobh commented 5 years ago

vuejs frontend vuejs frontend vuejs frontend

rodgomesc commented 5 years ago

@jersobh you can implement this in django front?

zoelner commented 5 years ago

Django front is bad choice :/

phyllipy commented 5 years ago

For the Vue.JS app you can use Netlify: http://netlify.com to host. The setup is very straightforward and there are free options.

tgonzales commented 5 years ago

jersobh You can create a repository with your code or if you made a clone of this project, put it in a folder, eg. vuefront. publish here and we help in the integration

rodgomesc commented 5 years ago

Django front is bad choice :/

why? django is already deployed in every project

tgonzales commented 5 years ago

Django front is bad choice :/

why? django is already deployed in every project

his project renders Vue App from Django and not Django Template. See brumadinho_location/static/js/script.js

jersobh commented 5 years ago

I've created a gps recording function, so people can register areas that have been searched already, with GPS position and time. Also a tool to register missing people and animals locations.

Live demo: https://dataforge.com.br/brumadinho/#/

caiocarrara commented 5 years ago

Hey guys, let's set an common language for talking? haha.

Well, @jersobh thank you a lot for your work. It's really interesting what you've achived.

You told you're already registering data with that solution. Are you storing it anywhere? Is it just being stored on client side?

I've really liked your approach and the usability seems smooth enough for a first version. I encourage you to analyse if your solution can fit for what we need. Keep in mind that we'll need to integrate it with a backend, that backend can or cannot be written in Python (because it's the stack most of new contributiors know), the frontend/backend modules probably is going to be implemented together in a same project (we can change it). Try to be as clear as possible documenting how people can improve and extend your solution and feel free to propose it in a Pull Request.

Thanks,

jersobh commented 5 years ago

@cacarrara it's not yet integrated with the API, but a member from telegram group ('Jose Bezerra') said he would work on that. But can be done in a few minutes, I just need to get the CRUD endpoints, as axios is already installed, and make the API calls. Right now I'm planning to create an option to record the searched locations locally, then export the records to a file, in order to work offline, as Vania has suggested.