๐Ÿ• Pizza API Live

REST API for a pizza ordering system โ€” Express + MongoDB + JWT + Multer + Nodemailer + Swagger.

๐Ÿ”‘ Demo Login Email: demo@demo.com   Password: Demo1234!   Role: admin
Use these in Swagger UI's Authorize dialog or POST to /auth/login
๐Ÿ“˜ Swagger UI
Interactive API explorer
๐Ÿ“• Redoc
Beautiful API reference
๐Ÿ“„ OpenAPI JSON
Raw spec
๐Ÿ• GET /pizzas
5 sample pizzas
๐ŸŒถ GET /toppings
8 toppings
โŒจ Source Code
github.com/ozguryildiz54
POST /auth/login Login โ†’ JWT + refresh token POST /auth/refresh Refresh JWT GET /pizzas List pizzas (public) POST /pizzas Create pizza (admin) PUT /pizzas/:id Update pizza (admin) DELETE /pizzas/:id Delete pizza (admin) GET /toppings List toppings (public) GET /orders List orders (auth) POST /orders Place order (auth) GET /users List users (admin)