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
- Host: GitHub
- URL: https://github.com/santipac/clouty-ecommerce
- Owner: Santipac
- Created: 2023-02-16T20:58:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-11T21:28:30.000Z (over 1 year ago)
- Last Synced: 2025-01-07T17:43:10.335Z (5 months ago)
- Topics: cookies, docker, isr, jsonwebtoken, material-ui, middleware, mongodb, mongoose, next-auth, nextjs, nodejs, paypal-sdk, reactjs, ssr, typescript
- Language: TypeScript
- Homepage:
- Size: 17.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```