https://github.com/talhat298/surgical-server
SurgicalSavvy Server is a backend service built with Node.js, Express, and MongoDB. This project is designed to manage surgical services and orders, providing a RESTful API for interacting with the data.
https://github.com/talhat298/surgical-server
api cors javascript mongodb nodejs reactjs
Last synced: 3 months ago
JSON representation
SurgicalSavvy Server is a backend service built with Node.js, Express, and MongoDB. This project is designed to manage surgical services and orders, providing a RESTful API for interacting with the data.
- Host: GitHub
- URL: https://github.com/talhat298/surgical-server
- Owner: TalhaT298
- Created: 2023-03-08T19:42:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-28T08:10:10.000Z (almost 2 years ago)
- Last Synced: 2026-01-03T16:18:46.720Z (6 months ago)
- Topics: api, cors, javascript, mongodb, nodejs, reactjs
- Language: JavaScript
- Homepage: https://surgicalsavvy.netlify.app/
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Surgical Server
SurgicalSavvy Server is a robust backend service developed using Node.js, Express, and MongoDB, specifically designed to manage surgical services and orders. It provides a comprehensive RESTful API to facilitate efficient and secure interactions with the data, ensuring a seamless experience for users and administrators alike. The server supports a range of functionalities including service retrieval and management, order processing, and secure handling of environment variables. Additionally, the server is equipped with CORS support for cross-origin resource sharing and follows a modular design for enhanced scalability and maintainability.
## Features
- **Service Management**: Retrieve and manage surgical services.
- **Order Management**: Handle orders with CRUD operations.
- **Environment Variables**: Securely manage sensitive data.
- **CORS Enabled**: Support for Cross-Origin Resource Sharing.
- **Modular Design**: Organized codebase for scalability.
## Endpoints
### Services
- **Get All Services**
- GET /services
- **Get Service by ID**
GET /services/
### Orders
- **Get All Orders**
GET /orders
- **Get Orders by Email**
GET /orders?email=user@example.com
- **Create New Order**
POST /orders
- **Update Order Status**
PATCH /orders/
- **Delete Order**
## Setup
1. Clone the repository:
```bash
git clone https://github.com/yourusername/surgical-server.git
cd surgical-server
```
2. Install dependencies:
```
npm install
```
Dependencies
- express
- cors
- dotenv
- mongodb
## Live Link