An open API service indexing awesome lists of open source software.

https://github.com/mlascurain/book-manager

Full stack CRUD Book Manager built with NextJs & Supabase
https://github.com/mlascurain/book-manager

crud full-stack nextjs supabase

Last synced: about 1 month ago
JSON representation

Full stack CRUD Book Manager built with NextJs & Supabase

Awesome Lists containing this project

README

          

## 📚 Book Manager · Gestor de Libros

> [!WARNING]
> ##### ⚠️ 🇬🇧 The project is no longer receiving support
> ##### ⚠️ 🇪🇸 El proyecto ya no esta recibiendo soporte

![United Kingdom](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/gb.png "United Kingdom") Fullstack app to manage personal books. Allows user authentication and CRUD operations on books.
![Spain](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png "Spain") Aplicación fullstack para gestionar libros personales. Permite autenticación de usuarios y operaciones CRUD sobre libros.

![image](https://github.com/user-attachments/assets/ebf72f16-ca31-4c7a-a522-ec15f5f792d6)

![image](https://github.com/user-attachments/assets/7adcbbf3-6f70-45fe-bb02-1e3c935bddad)

Built with / Desarrollada con: **Next.js**, **Supabase**, **Docker**

> [!NOTE]
> ### 🚧 Requirements · Requisitos
>
> - Node.js `>=18`
> - Docker

### 📁 Run locally · Como correr en local

#### 1. Clone the repository · Clonar el repo

```bash
git clone https://github.com/mLascurain/book-manager
cd book-manager
```

#### 2. Install dependencies · Instalar dependencias

```bash
npm install
```

#### 3. Start local Supabase · Iniciar Supabase local

![United Kingdom](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/gb.png "United Kingdom") This will spin up the database locally using Docker.
![Spain](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png "Spain") Esto levanta la base de datos localmente con Docker:

```bash
npx supabase start
```

#### 4. Apply migrations · Aplicar migraciones

![United Kingdom](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/gb.png "United Kingdom") This command applies the schema automatically from `supabase/migrations/`.
![Spain](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png "Spain") Este comando aplica el esquema automáticamente desde `supabase/migrations/`.

> [!WARNING]
> ![United Kingdom](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/gb.png "United Kingdom") This will delete all current data. Be sure to back up if you already had records locally.
> ![Spain](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png "Spain") Este comando elimina todos los datos actuales. Fijate de hacer backup si ya tenías registros en local.

```bash
npx supabase db reset
```

#### 5. Run the app in development · Correr la app en desarrollo

```bash
npm run dev
```

![United Kingdom](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/gb.png "United Kingdom") This will run Next.js at [http://localhost:3000](http://localhost:3000) and Supabase Studio at [http://localhost:54323](http://localhost:54323)
![Spain](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png "Spain") Esto ejecuta Next.js en [http://localhost:3000](http://localhost:3000) y Supabase Studio arranca en [http://localhost:54323](http://localhost:54323)

### 🧪 Features · Funcionalidad

![United Kingdom](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/gb.png "United Kingdom")
- ✅ User authentication with Supabase Auth
- ✅ CRUD operations on personal books
- ✅ RLS policies for data security
- ✅ Automatic migrations for reproducible environments

![Spain](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png "Spain")
- ✅ Autenticación de usuarios con Supabase Auth
- ✅ Operaciones CRUD sobre libros personales
- ✅ Policies con RLS para seguridad de datos
- ✅ Migraciones automáticas para reproducibilidad del entorno

### 🐳 Docker

![United Kingdom](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/gb.png "United Kingdom") This project uses `Docker` via Supabase CLI so you can run all services easily.
![Spain](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png "Spain") Este proyecto utiliza `Docker` mediante Supabase CLI para que puedas correr todos los servicios altoque.

To stop them / Si querés frenarlos:

```bash
npx supabase stop
```