https://github.com/jahidul2004/guardian-care-server
The Guardian Care Server is the backend for the Guardian Care platform, built with Node.js, Express.js, and MongoDB. It manages meal plans, memberships, transactions, user authentication, and payments via Stripe, ensuring secure and efficient operations.
https://github.com/jahidul2004/guardian-care-server
express jwt mongodb nodejs stripe
Last synced: 2 months ago
JSON representation
The Guardian Care Server is the backend for the Guardian Care platform, built with Node.js, Express.js, and MongoDB. It manages meal plans, memberships, transactions, user authentication, and payments via Stripe, ensuring secure and efficient operations.
- Host: GitHub
- URL: https://github.com/jahidul2004/guardian-care-server
- Owner: jahidul2004
- Created: 2025-02-08T19:42:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T15:39:28.000Z (over 1 year ago)
- Last Synced: 2025-05-21T09:11:38.271Z (about 1 year ago)
- Topics: express, jwt, mongodb, nodejs, stripe
- Language: JavaScript
- Homepage:
- Size: 4.25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guardian Care Server
This is the backend server for the **Guardian Care** project, built with **Node.js**, **Express.js**, and **MongoDB**. It handles meal plans, memberships, transactions, user authentication, and payment processing via **Stripe**.
## Features
- 📦 RESTful API with Express.js
- 🗄️ MongoDB Database
- 🔐 JWT Authentication & Authorization
- 💳 Stripe Payment Integration
- 📊 CRUD Operations for Meals, Memberships, Transactions, and Reviews
## Tech Stack
- **Backend:** Node.js, Express.js
- **Database:** MongoDB, Mongoose
- **Authentication:** JWT, bcrypt
- **Payment:** Stripe
## Installation & Setup
### Prerequisites
Ensure you have the following installed:
- Node.js
- MongoDB
### Clone the Repository
```sh
git clone https://github.com/jahidul2004/guardian-care-server.git
cd guardian-care-server
```
### Install Dependencies
```sh
npm install
```
### Run the Server
```sh
npm run dev
```
## API Endpoints
| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | `/api/meals` | Get all meal plans |
| POST | `/api/membership` | Create a new membership |
| POST | `/api/transactions` | Record a transaction |
| POST | `/api/reviews` | Add a user review |
## Deployment
To deploy the server:
```sh
git push heroku main
```