Skip to content

Commit

Permalink
Endpoints creados + readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan committed Oct 12, 2023
1 parent 194a094 commit e38281f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pruebas/02-bazar-universal/jfilgairacordon/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
Esto es un proyecto para resolver la prueba técnica 02-bazar-universal de @midudev.

## Getting Started
## Info importante

First, run the development server:
Comando para iniciar el proyecto en modo desarrollo:

```bash
npm run dev
Expand All @@ -14,20 +14,20 @@ pnpm dev
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
Abre [http://localhost:3000](http://localhost:3000) en el navegador.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
## Requisitos técnicos de la prueba.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
- [ ] Página de inicio con caja de búsqueda.
- [ ] Página de resultados de búsqueda.
- [ ] Página de detalle de producto.
- [ ] API Endpoint para la lista de prods.
- [ ] API Endpoint para obtener detalle de un producto.
- [ ] Test de la app.
- [ ] Documentación de la app.
- [ ] Implementación del carrito de la compra.
- [ ] Responsive.
- [ ] Paginacion tanto en api como en el front.

## Deploy on Vercel

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { NextRequest, NextResponse } from 'next/server'

export async function GET () {
const parameters = NextRequest.arguments;
console.log(parameters);

return NextResponse.json({
message: 'Hello World'
})
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { NextResponse } from 'next/server'

export async function GET () {
return NextResponse.json({
message: 'Hello World'
})
}

0 comments on commit e38281f

Please sign in to comment.