Welcome to the Mind Care! This project, developed by Faaiz Aslam, serves as the backend for the Mind Care application.
- Project Overview
- Features
- Getting Started
- Environment Variables
- Contributing
- License
- Contact Information
The Mind Care Backend is built to support the functionality of the Mind Care application, providing the necessary APIs and services to manage user data, authentication, and more.
- User authentication and authorization
- API endpoints for managing user data
- Integration with Stripe for payment processing
- Integration with NodeMailer for email notifications
- Socket IO for realtime chat
- webRTC for calling
This section will guide you through setting up and running the Mind Care Backend on your local machine.
- Node.js and npm installed
- MongoDB server running locally or accessible remotely
- Clone the repository:
git clone https://github.com/your-username/mind-care-backend.git
- Navigate to the project directory:
cd mind-care-backend
- Install dependencies:
npm install
- Configure the environment variables (see Environment Variables).
- Start the server:
npm start
- The server will start on the specified port (default: 8080). You can access the APIs at
http://localhost:8080/api/v1
.
Before running the Mind Care Backend, make sure to set up the following environment variables:
MONGO_URI
: MongoDB connection URI.MONGO_URI_ONLINE
: Online MongoDB connection URI.PORT
: Port on which the server will run.API_PORT
: Port for API endpoints.ACCESS_JWT_SECRET
: Secret key for access JWT tokens.REFRESH_JWT_SECRET
: Secret key for refresh JWT tokens.NODE_ENV
: Node environment (e.g., 'development', 'production').API_URL
: Base URL for API endpoints.PUB_STRIPE
: Stripe public key.SECRET_STRIPE
: Stripe secret key.user
: NodeMailer email user.pass
: NodeMailer email password.
Contributions to the Mind Care Backend are welcome! To contribute, follow these steps:
- Fork this repository.
- Create a new branch:
git checkout -b feature/-feature-name
- Make your changes and commit them:
git commit -m "commit message"
- Push to the branch:
git push origin feature/-feature-name
- Open a pull request and describe your changes.
This project is property of COMSATS University Islamabad
For questions or support, please contact Faaiz Aslam at [email protected]
Thank you for checking out the Mind Care Backend! We hope you find it helpful, and we appreciate your feedback and contributions. Stay mindful and take care!