Design and development of a web application for a bar in Buenos Aires, with order system and payment processing via Mercado Pago. Email notifications with Resend
This route is used by the barman to check incoming orders.
This route is oriented for the bar owner, to check processed payments.
Tech used: Next.js, MongoDB, Tailwind CSS, MercadoPago, Resend, Shadcn UI, Zod Validation, LocalStorage
Some possible optimizations could be adding user auth and roles, to improve the app workflow.
I've learnt how difficult and volatile the gastronomy industry is, and how to deal and work with it.
npm install
- Create a
.env
file in config folder and add the following askey = value
- PUBLIC_KEY =
your mercadopago access token
- MONGODB_URI =
your database URI
- RESEND_API_KEY =
your Resend API key
- NEXT_PUBLIC_ADMIN_USER =
admin auth username
- NEXT_PUBLIC_ADMIN_PASS =
admin auth password
- PUBLIC_KEY =
npm run dev