A system to share resources between non-abducted humans, that receives survivors informations and generates reports!
-
Ruby version: 2.7.1
-
Rails version: 6.0.3.1
-
Database: Postgresql
- Clone the repository:
$ git clone https://github.com/anachronicsofa/x-sunit
- Install all gems:
$ bundle install
- Update the database and feed the database with default seeds:
$ rake db:create db:migrate db:seed
- Start the web server on http://localhost:3000 by default:
$ rails s
- All routes: http://localhost:3000/rails/info/routes or
$ rails routes
https://documenter.getpostman.com/view/11570035/Szzkbx1N
- Change the type for Latitude and Longitude (altering for something that receives strings+numbers) cause, when I made the database, I didn't notice that they have the directions like N,S. Also, maybe change to some structure that receives two arguments at same time (maybe point or an array), simplifying the input.
- Add a real autentication (maybe a user and password) for the survivor that will report another survivor
- I still need to improve my mini-test usage, adding more failure cases and methods