https://github.com/sakib-333/matrimony-platform-server
This is the server of Matrimony Platform Client side. A server that provides all necessary API response.
https://github.com/sakib-333/matrimony-platform-server
cookie cors dotenv expressjs jwt mongodb stripe
Last synced: 3 months ago
JSON representation
This is the server of Matrimony Platform Client side. A server that provides all necessary API response.
- Host: GitHub
- URL: https://github.com/sakib-333/matrimony-platform-server
- Owner: sakib-333
- Created: 2025-01-27T10:18:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T10:28:50.000Z (over 1 year ago)
- Last Synced: 2025-02-21T03:16:16.782Z (over 1 year ago)
- Topics: cookie, cors, dotenv, expressjs, jwt, mongodb, stripe
- Language: JavaScript
- Homepage: https://ph-b10-a12-server.vercel.app
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Matrimony Portal Server
This is a Node.js Express server that integrates several npm packages such as Express, MongoDB, Cookie-Parser, CORS, dotenv, JWT (JSON Web Token) Authentication, and Stripe for handling payment processing.
## Features
- **Express.js**: Web framework for building the server
- **MongoDB**: Database for storing user data and other information
- **JWT Authentication**: Secure user authentication with JSON Web Tokens
- **Stripe**: Payment gateway integration for handling payments
- **Cookie-Parser**: Parsing cookies in requests
- **CORS**: Enabling cross-origin requests for the server
- **dotenv**: Environment variable management
## Prerequisites
Make sure you have the following installed on your local machine:
- [Node.js](https://nodejs.org/)
- A **MongoDB** instance (either local or cloud-based like MongoDB Atlas)
- A **Stripe account** for payment processing
## Installation
1. Clone the repository to your local machine:
```bash
git clone git@github.com:sakib-333/ph-b10-a12-server.git
cd ph-b10-a12-server
```
2. Install dependencies
```bash
npm install
```
3. Create a `.env` file root of the folder and all of your secret keys.
```bash
DB_USERNAME=
DB_PASSWORD=
JWT_SECRET=
STRIPE_SECRET_KEY=
```
4. Start server
```bash
node index.js
```
5. Your server should now be running on `http://localhost:3000`.