Skip to content

shubbhamsingh/Pizza_store_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Pizza Store Backend API

Node.js MongoDB

A robust RESTful API backend for a Pizza Store, built using Node.js, Express, and MongoDB. The project features full CRUD (Create, Read, Update, Delete) operations for managing pizza inventory.

πŸš€ Live Demo (API Endpoint)

View Live API (Items)

Note: As this is a backend service, the primary interaction is through API requests (via Postman or Thunder Client).

πŸ“Œ API Endpoints

  • GET /items - Retrieve all pizza items (Renders HTML view)
  • GET /items/:id - Retrieve a specific pizza by ID (JSON)
  • POST /items - Add a new pizza item (JSON)
  • PUT /items/:id - Update an existing pizza item (JSON)
  • DELETE /items/:id - Delete a pizza item (JSON)

πŸ› οΈ Tech Stack

  • Node.js & Express.js
  • MongoDB & Mongoose
  • EJS (Template Engine)
  • Postman (API Testing)

πŸ’» Local Setup

  1. Clone the repository.
  2. Navigate to PizzaStoreProject/PizzaStoreProject/Major Project/src.
  3. Run npm install to install dependencies.
  4. Set your MONGO_URI in your environment variables.
  5. Run npm start to start the server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors