Welcome to the Therapy API, a backend solution designed to support therapy-related functionalities. This API offers various features to assist therapists and users in managing therapy-related tasks efficiently.
- Register Client: Allows therapists to register new clients.
- View Client Information: Provides access to client profiles and details.
- Schedule Appointment: Enables therapists to schedule appointments with clients.
- Cancel Appointment: Allows therapists or clients to cancel scheduled appointments.
- View Appointments: Provides a view of scheduled appointments.
- Send Invoice: Allows therapists to send invoices to clients.
- Upload Invoice: Enables clients to upload invoices.
- View Invoice: Clients can view invoices sent by therapists.
- Invoice Control: Provides functionality to manage invoices.
- JWT Authentication: Implements user authentication using JSON Web Tokens (JWT).
- Role-Based Access Control: Provides role-based access control to different API endpoints.
- Push Notifications: Supports push notifications to notify users about appointments, invoices, etc.
- dotenv Integration: Utilizes dotenv for managing environment variables.
- MongoDB: Uses MongoDB as the primary database for storing therapy-related data.
- File Uploads: Integrates with Cloudinary for uploading and storing files such as invoices, client documents, etc.
- Node.js and npm installed on your machine.
- MongoDB database setup.
- Cloudinary account for file storage.
- Clone the repository to your local machine.
- Install dependencies using
npm install
. - Set up environment variables using a
.env
file. - Start the server using
npm dev
"dev": "nodemon ./index.js localhost 3001"
Contributions to the Therapy API project are welcome! If you'd like to contribute, please follow the guidelines outlined in CONTRIBUTING.md.
If you have any questions, suggestions, or feedback, feel free to reach out to us at [email protected].
Thank you for choosing the Therapy API for your therapy-related needs!