Welcome to the server-side repository of The Bengal Chefs' Pantry, a dedicated website showcasing the finest recipes from the best chefs. This server handles API requests.
- Features
- Technologies Used
- Prerequisites
- Project Structure
- Installation
- Configuration
- Live Server
- Running the Application
- API Endpoints
- Also Checkout The Bengal Chefs' Pantry - Client
- Contributing
- License
- RESTful API for banner dishes, headlines, chefs, tips and tricks, and health tips.
- Secure environment-based configuration.
- Data retrieval and management for various culinary data.
- Node.js
- Express.js
- Node.js and npm installed.
├── .gitignore # Lists files for Git to ignore
├── README.md # Project documentation
├── index.js # Main entry point of the application
├── package-lock.json # Exact dependency tree
├── package.json # Project metadata and dependencies
├── vercel.json # Vercel deployment settings
├── data # Directory containing JSON files with mock data
│ ├── bannerDishes.json
│ ├── chefs.json
│ ├── healthTips.json
│ ├── headlines.json
│ └── tipsAndTricks.json
-
Clone the repository:
git clone https://github.com/Tanzeebul-Tamim/The-Bengal-Chefs-Pantry-Server cd The-Bengal-Chefs-Pantry-Server
-
Install dependencies:
npm install
Create a .env
file in the root directory and add the following environment variables:
PORT=5000
The server is deployed on this following URL
- Start the server:
npm start
- GET
/
: Health check endpoint. Returns a simple message indicating the server is running. - GET
/bannerdishes
: Retrieve all banner dishes. - GET
/headlines
: Retrieve all headlines. - GET
/chefs
: Retrieve all chefs. - GET
/tips
: Retrieve all tips and tricks. - GET
/healthtips
: Retrieve all health tips.
Visit the client-side repository of The Bengal Chefs' Pantry website
Feel free to contribute by submitting a pull request. Please ensure that your code follows the project's coding standards and includes relevant tests.
This project is licensed under the MIT License - see the LICENSE file for details.