Frontend web (Angular) para biblioteca digital: libros, pedidos, posts y usuarios.
Explorar repositorio »
Ver código
·
Reportar bug
·
Pedir feature
Tabla de contenidos
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.
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.
- Node.js (recomendado: LTS)
- npm
- Backend de BookStar en ejecución (por defecto
http://localhost:3000)
- Clonar el repositorio
git clone https://github.com/hexed-AAL1X/BookStar.git
cd BookStar- Instalar dependencias
npm install- Ejecutar en modo desarrollo
npm run start- Abrir en el navegador
http://localhost:4200/
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)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.
- Edita
src/app/env/enviroment.prod.tscon la URL real de tu API en Render - Conecta el repo
hexed-AAL1X/BookStaren Vercel
Config (también en vercel.json):
- Build command:
npm run build - Output directory:
dist/bookstar-front/browser
- En el backend (Render), pon
FRONTEND_URLcon la URL de Vercel
Repo backend: hexed-AAL1X/_BookStar_
Contribuciones bienvenidas.
- Fork del proyecto
- Crear una rama (
git checkout -b feature/nueva-feature) - Commit (
git commit -m "Add: ...") - Push (
git push origin feature/nueva-feature) - Pull Request


