This tool is part of the Posso Ir? application. In this project we have the backoffice, data importing scripts and the API that powers the mobile applications.
Posso Ir? is an application that we started building when the Coronavirus Pandemic started hitting Portugal. The goal of the application is to rally the power of the people to report on the sizes of queues outsied of essential stores and services like Supermarkets, Pharmacies, Post Office, Banks, etc. In a time of recommended social distancing we want to help people decide when is the best time to buy the things they need, and where to go.
Everyone using the application is invited to contribute with info about the shops they visit. So that we can all help each other in this time of need and uncertainty.
Posso Ir? is part of the Tech4Covid19 Movement.
If you would like to contribute or try to use this tool on your own country, feel free to reach out to us or to just clone the tool and have a go at it!
- Ruby on Rails 6.0.2;
- Ruby 2.6.3;
- PostgreSQL 12;
- PostGIS;
- Node 10.15.2;
- Clone the repository;
- Install dependencies:
bundle install
andyarn install
- Create and migrate database:
rails db:create db:migrate
- Start the server with
rails server
- Open your browser and visit
http://localhost:3000
and ta-da!
If you want to have a go at the API you'll need to setup a JWT_TOKEN in
your .env
file, check the .env.sample
file;
We are using JWT for authentication on the API access. Tokenizing and
decoding tokens is handled by app/services/jwt_service.rb
.
Check the rails routes for the available API routes.
Data importing is a bit random at the time as we are using data from different providers in different formats, if you want some samples, message us! Otherwise just use the web interface to create your own stores.
This tool is being built by the following people, who are part of the larger Posso Ir? team.
- Bruno Pinto
- Danton Dornellas
- Francisca Fonseca
- Hugo Dias
- Joana Silva
- João Crisóstomo
- João Lobato
- João Rodrigues
- Luís Certo
- Miguel Torres
- Paulo Leite
- Pedro Bertucci
- Rafael Pires
- Rodrigo Solís
- Tiago Santos
- Simão Belchior