Skip to content

anurag2787/BiteBoxBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BiteBox Backend

Backend for the BiteBox recipe sharing application.

Description

The BiteBox backend is a Node.js application that provides API endpoints for managing recipes, user authentication, and other functionalities required by the BiteBox app. The backend uses Express.js for handling HTTP requests and MongoDB for data storage.

Installation

  1. Clone the repository:
    git clone https://github.com/M-ayank2005/BiteBoxBackend.git
    cd BiteBoxBackend

Install the dependencies:

npm install

Create a .env file in the root directory and add your MongoDB URI and other environment variables:

MONGO_URI=your_mongodb_uri PORT=5000

Usage

Start the server:

npm start

The server will run on http://localhost:5000 by default.

API Endpoints

GET /api/recipes - Get all recipes
POST /api/recipes - Create a new recipe
GET /api/recipes/:id - Get a recipe by ID
PUT /api/recipes/:id - Update a recipe by ID
DELETE /api/recipes/:id - Delete a recipe by ID

Contributing

Feel free to contribute to this project by opening issues and submitting pull requests. Please follow the contributing guidelines for more details. License

This project is licensed under the ISC License.

You can customize this content further based on your specific needs.

About

Frontend Code Github Link :- https://github.com/anurag2787/BiteBox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •