Skip to content

ChivoMap API | scraping web, manejo de datos geoespaciales

License

Notifications You must be signed in to change notification settings

chivomap/api-v2

Repository files navigation

🌍 Chivomap Api

📌 Descripción

API en Go usando Fiber para manejar rutas, Colly para scraping y Turso DB como base de datos.

🚀 Instalación

1️⃣ Clonar el repositorio

git clone https://github.com/oclazi/chivomap-api.git
cd chivomap-api

2️⃣ Configurar variables de entorno

Crear un archivo .env con:

TURSO_DATABASE_URL=libsql://your-database.turso.io
TURSO_AUTH_TOKEN=your-auth-token

Si .env no se carga, usa:

export $(grep -v '^#' .env | xargs)

3️⃣ Instalar dependencias

go mod tidy

4️⃣ Levantar la API

go run main.go

Disponible en: http://localhost:8080


🛠 Comandos Útiles

go mod tidy  # Instalar dependencias
export $(grep -v '^#' .env | xargs) && go run main.go  # Cargar .env y ejecutar

License

This project is licensed under the MIT License with additional terms - see LICENSE.md

Intellectual Property Notice

Copyright © 2024 ChivoMap. All rights reserved. While this project is open-source, the following restrictions apply:

  • The ChivoMap name and logo are trademarks and may not be used without permission
  • Commercial use requires explicit written permission
  • Derivative works must maintain all copyright and license notices

About

ChivoMap API | scraping web, manejo de datos geoespaciales

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published