petherson.
← All projects

01 / Main project

Academic project under development

BeVans

Students confirm outbound and return trips. Drivers see who is waiting for the van and which stops belong to the trip.

React Native · Expo · Spring Boot · PostgreSQL · Firebase · Mapbox · Next.js · Oracle Cloud

BeVansStop 01
OutboundBoardingReturn
University transportation · academic project

The real problem

A list of students cannot tell a driver who will take the van today. Drivers need to know who confirmed attendance and where to stop on each trip.

What I built

I created BeVans and built its technical foundation: the React Native Android app, Java Spring Boot REST API, PostgreSQL database, Firebase login and Next.js dashboard. In the backend, I separated groups, attendance and trips so outbound and return journeys can operate independently.

Evidence and tests

563 automated backend tests passed, including PostgreSQL integration (412 executions in the main suite and 151 in the integration suite, with no failures or skipped tests). Two Android emulators verified group persistence after restart and shared trip recognition. Public registration is closed; GPS field testing is pending.

Project screenshots

Screenshots from testing; personal details have been replaced with sample data.

Advanced technical details

Technical decisions: attendance and execution

Separating groups, attendance by date/direction and execution prevents different trips from sharing attendance state incorrectly.

Technical decisions: identity and routing

The API verifies Firebase tokens and resource access. OR-Tools fixes endpoints and orders intermediate stops by geographic distance, not live traffic.

System design

Interactive architecture

Select a component to inspect its responsibility and trade-offs. The diagram represents documented behavior.

React Native · Expo · Next.js

Android / Web

Separate clients consume the same API.

Decision and trade-off

Sharing the backend reduces duplicated business rules; interfaces remain platform-specific.

Guided demonstration

Inside BeVans

Explore three actual Android screens from testing. This is not a live session.

Plan the group

Step 1 of 3

Plan the group

The driver checks the shift, capacity and route before creating a group.

Explore the web platform ↗

Interactive experience

From attendance to trip

Explore the conceptual flow. These examples illustrate the documented model without API calls.

Documented flow1/4

Firebase → Spring Boot

Identity

The client sends its token. The API validates identity and access rules before changing data.

Infrastructure / CI

Infrastructure and deployment

Documented topology, not a live inventory. Select a component to inspect the source.

GitHub Actions → Oracle Cloud / NginxVercel → Oracle Cloud / NginxOracle Cloud / Nginx → PostgreSQLOracle Cloud / Nginx → Firebase

Maven · CI

GitHub Actions

API tests and isolated PostgreSQL validation; does not automatically deploy the VM.

Inspect source ↗

API / HTTP

API reference

Read-only contract examples verified against source code and tests. No requests are sent. Tokens and IDs are placeholders; responses may be partial.

API liveness; does not establish database health.

Authorization: Public

Request

GET /health

Expected response

200 OK
OK
Inspect contract source ↗

HTTP / Sandbox

API playground

Explore verified contract shapes without connecting to production.

Architecture Decision Records

Architecture decisions

Retrospective records based on the implemented code. Alternatives are analytical comparisons, not a claimed historical shortlist.

ADR-01 · Spring Boot and PostgreSQL
Context
Attendance, capacity, memberships and trips require consistent rules and relational persistence.
Options compared
Java API and relational database versus a managed document backend. Retrospective comparison, not a verified historical shortlist.
Decision
Spring Boot enforces authorization and domain rules; PostgreSQL persists data.
Consequences and trade-offs
Transaction and integrity control; migration, operations and maintenance overhead.
Inspect source ↗
ADR-02 · Expo development build
Context
Mapbox uses native modules unavailable in Expo Go.
Options compared
Expo Go versus a development build with native code.
Decision
Use a development build to test maps and navigation.
Consequences and trade-offs
Native module support; requires platform toolchains and builds.
Inspect source ↗
ADR-03 · Identity and authorization
Context
Mobile and web need to identify users and restrict access to others' resources.
Options compared
Client-only validation versus central server enforcement.
Decision
Firebase authenticates; the API verifies tokens and enforces access rules.
Consequences and trade-offs
Identity/domain separation; provider dependency and credential configuration.
Inspect source ↗

Technical dossier · Miguel Petherson Silva

https://petherson-dev.vercel.app/en/projetos/bevans

Infrastructure

GitHub Actions: API tests and isolated PostgreSQL validation; does not automatically deploy the VM.

Vercel: Published web platform; public registration is closed according to the README.

Oracle Cloud / Nginx: Topology documented in the production preparation guide. The actual VM configuration has not been verified.

PostgreSQL: Relational database; migrations and privileges require validation before deployment.

Firebase: Server-validated identity; administrative credentials stay outside the client.

API

GET /health

API liveness; does not establish database health.

GET /health

200 OK
OK

https://github.com/pethersonzada/bevans-backend/blob/f5faea25140a3e0ae00ae5b6b4a217122d37f9ee/src/main/java/com/bevans/controller/HealthController.java

POST /rota/confirmar

Contract example: LIMPAR clears existing attendance. IDs are placeholders. Do not run against real data.

POST /rota/confirmar?usuarioId={userId}&turmaId={groupId}&status=LIMPAR
Authorization: Bearer <token>

200 OK
SUCESSO

https://github.com/pethersonzada/bevans-backend/blob/f5faea25140a3e0ae00ae5b6b4a217122d37f9ee/src/main/java/com/bevans/controller/RotaController.java

GET /turmas/{id}/vagas

Returns capacity and vacancies; the actual DTO type is shown without invented fields.

GET /turmas/{id}/vagas
Authorization: Bearer <token>

200 OK
VagasTurmaDTO

https://github.com/pethersonzada/bevans-backend/blob/f5faea25140a3e0ae00ae5b6b4a217122d37f9ee/src/main/java/com/bevans/controller/TurmaController.java

ADRs

ADR-01 · Spring Boot and PostgreSQL

Context: Attendance, capacity, memberships and trips require consistent rules and relational persistence.

Options: Java API and relational database versus a managed document backend. Retrospective comparison, not a verified historical shortlist.

Decision: Spring Boot enforces authorization and domain rules; PostgreSQL persists data.

Trade-offs: Transaction and integrity control; migration, operations and maintenance overhead.

https://github.com/pethersonzada/bevans-backend/blob/f5faea25140a3e0ae00ae5b6b4a217122d37f9ee/README.md

ADR-02 · Expo development build

Context: Mapbox uses native modules unavailable in Expo Go.

Options: Expo Go versus a development build with native code.

Decision: Use a development build to test maps and navigation.

Trade-offs: Native module support; requires platform toolchains and builds.

https://github.com/pethersonzada/bevans-frontend/blob/main/README.md

ADR-03 · Identity and authorization

Context: Mobile and web need to identify users and restrict access to others' resources.

Options: Client-only validation versus central server enforcement.

Decision: Firebase authenticates; the API verifies tokens and enforces access rules.

Trade-offs: Identity/domain separation; provider dependency and credential configuration.

https://github.com/pethersonzada/bevans-backend/blob/f5faea25140a3e0ae00ae5b6b4a217122d37f9ee/docs/openapi-api.md

Source and demonstration

Professional contact

Get in touch

I am seeking an internship or junior full-stack role. Send me the job description or connect on LinkedIn.