Skip to content
hexed-AAL1XPublic

About

BookStar es tu biblioteca digital personal: descubre libros, gestiona pedidos, comparte reseñas y conecta con otros lectores en un solo lugar.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

GitHub Repo contributors  GitHub Repo forks  GitHub Repo stars  GitHub Repo issues 


BookStar

BookStar Frontend

Frontend web (Angular) para biblioteca digital: libros, pedidos, posts y usuarios.
Explorar repositorio »

Ver código · Reportar bug · Pedir feature

Tabla de contenidos
  1. About the project
  2. Built with
  3. Important notices
  4. Getting started
  5. Environments
  6. Deployment
  7. Contributing
  8. Contact

About the project

Dashboard de BookStar

BookStar es una aplicación web enfocada en gestionar una biblioteca digital personal y de autores.

Incluye:

  • Autenticación (login / registro).
  • Dashboard de inicio con métricas.
  • Módulos de libros, pedidos, posts y usuarios/perfil.

(back to top)

Built with

  • Angular
  • TypeScript
  • RxJS
  • jsPDF

(back to top)

Important notices

Note

No necesitas instalar ng globalmente. Este proyecto ya incluye Angular CLI en devDependencies.

Usa npm run start para levantar el servidor local.

Important

Este repo es el frontend. Para autenticarte y usar el dashboard necesitas el backend de BookStar corriendo y configurar apiUrl en los environments.

(back to top)

Getting started

Prerequisites

  • Node.js (recomendado: LTS)
  • npm
  • Backend de BookStar en ejecución (por defecto http://localhost:3000)

Installation

  1. Clonar el repositorio
git clone https://github.com/hexed-AAL1X/BookStar.git
cd BookStar
  1. Instalar dependencias
npm install
  1. Ejecutar en modo desarrollo
npm run start
  1. Abrir en el navegador
  • http://localhost:4200/

Available scripts

npm run start   # ng serve
npm run build   # build producción
npm run watch   # build en modo watch (development)
npm run test    # tests unitarios (Karma)

(back to top)

Environments

Los environments están en:

  • src/app/env/enviroment.ts (dev / local)
  • src/app/env/enviroment.prod.ts (prod)

Variable relevante:

  • apiUrl: URL del backend (local: http://localhost:3000)

En producción (ng build) se usa enviroment.prod.ts vía fileReplacements en angular.json.

(back to top)

Deployment

Vercel (gratis)

  1. Edita src/app/env/enviroment.prod.ts con la URL real de tu API en Render
  2. Conecta el repo hexed-AAL1X/BookStar en Vercel

Config (también en vercel.json):

  • Build command: npm run build
  • Output directory: dist/bookstar-front/browser
  1. En el backend (Render), pon FRONTEND_URL con la URL de Vercel

Repo backend: hexed-AAL1X/_BookStar_

(back to top)

Contributing

Contribuciones bienvenidas.

  1. Fork del proyecto
  2. Crear una rama (git checkout -b feature/nueva-feature)
  3. Commit (git commit -m "Add: ...")
  4. Push (git push origin feature/nueva-feature)
  5. Pull Request

Top contributors

(back to top)

Contact

(back to top)

About

BookStar es tu biblioteca digital personal: descubre libros, gestiona pedidos, comparte reseñas y conecta con otros lectores en un solo lugar.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages