Documentation Index
Fetch the complete documentation index at: https://mintlify.com/joaoelian204/Portal-Ciudadano-Manta-web/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart Guide
This guide will help you set up Portal Ciudadano Manta quickly and explore its key features. You’ll be up and running in under 15 minutes.Before starting, ensure you have Node.js 16+ and npm installed, plus a free Supabase account.
Installation Steps
Install Dependencies
- Vue 3.5.22 (Composition API)
- TypeScript 5.9.3
- Vite 7.1.7
- Tailwind CSS 4.1.14
- Supabase JS Client 2.76.1
- Leaflet 1.9.4 (maps)
- Pinia 3.0.3 (state management)
- Vue I18n 9.14.5 (internationalization)
Configure Environment Variables
Create a Add your Supabase credentials:
.env file in the project root:Your development environment is now ready! The app should open automatically in your browser.
First-Time User Experience
Let’s walk through creating an account and exploring the main features.Creating a Citizen Account
Navigate to Registration
Click the “Registrarse” (Register) button in the navigation bar or go to
/register.Fill in Personal Information
The registration form requires:Password Requirements:
- Minimum 8 characters
- At least one uppercase letter
- At least one number
- At least one special character
The system validates the Ecuadorian cédula format in real-time using the official checksum algorithm.
Select Your Location
Choose your parish (parroquia) from the dropdown. Available options include:
- Eloy Alfaro
- Los Esteros
- Tarqui
- Manta (rural parishes)
- San Mateo
Logging In
Exploring Key Features
Reporting an Urban Issue
One of the most important features is reporting problems in your community.Select Location on Map
Use the interactive Leaflet map to pinpoint the exact location of the problem. Click on the map to set coordinates.
The map uses OpenStreetMap data and supports geolocation to help you quickly find your current location.
Participating in Surveys
Select a Survey
Click on any survey card to view details and participate.Surveys can be:
- Multiple choice (
opcion_multiple) - Open text (
abierta) - Rating scale (
calificacion)
Viewing Municipal News
Managing Your Profile
Update Information
You can modify:
- Name and contact information
- Parish and neighborhood
- Password
src/stores/auth.store.ts
Administrator Access
If you’re an administrator, you’ll have access to additional features:Admin Guide
Overview dashboard with statistics
News Management
Create, edit, and publish news
Survey Management
Create and monitor surveys
Report Management
Review and update citizen reports
Administrator accounts must be created with
tipo: "administrador" and registered in the administradores table in addition to Supabase Auth.Development Commands
Useful commands for development:Next Steps
Full Installation Guide
Set up Supabase database, configure Row Level Security, and deploy to production
Architecture Overview
Learn about the system architecture and design decisions
You’re now ready to use Portal Ciudadano Manta! Explore the platform and help improve your community.
