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

https://github.com/santipac/clouty-ecommerce

Clothing Ecommerce
https://github.com/santipac/clouty-ecommerce

cookies docker isr jsonwebtoken material-ui middleware mongodb mongoose next-auth nextjs nodejs paypal-sdk reactjs ssr typescript

Last synced: 4 months ago
JSON representation

Clothing Ecommerce

Awesome Lists containing this project

README

        

# Next.js Clouty Shop

Para correr localmente, se necesita la base de datos.

```
docker-compose up -d
```

## Configurar las variables de entorno

Renombrar el archivo **.env.template** a **.env**

- MongoDB URL Local:

```
MONGO_URL=mongodb://localhost:27017/teslodb
```

- Reconstruir los módulos de node y levantar Next

```
npm install
npm run dev
```

## Llenar la base de datos con información de pruebas

```
http://localhost:3000/api/seed
```