This repository contains the backend code for Aqua Treat Systems, dealers and distributors of various water purifiers in Belgaum, Karnataka.
The application uses MongoDB Atlas as its database.
- Mongoose: An object modeling tool for MongoDB, used for creating models and interacting with the database.
- Express: A web application framework for Node.js, used for building the API endpoints.
- Node.js: A JavaScript runtime environment used for server-side development.
- bcryptjs: A library for password hashing and salting.
- JWT: JSON Web Tokens are used for authentication and authorization.
- Twilio API: Used for sending automated messages to customers for service requests.
The following API endpoints are available:
/customers
: Handles customer-related operations./admin
: Handles admin-related operations./login
: Handles authentication and login./message
: Handles sending automated messages./products
: Handles product-related operations./contactForm
: Handles contact form submissions.
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository
- Create a new branch
- Make your changes
- Commit your changes
- Push the branch to your fork
- Submit a pull request