An open API service indexing awesome lists of open source software.

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.

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