/Aqua-Treat-Systems-API

Repo for backend and API for Aqua Treat Systems

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Aqua-Treat-Systems-API

This repository contains the backend code for Aqua Treat Systems, dealers and distributors of various water purifiers in Belgaum, Karnataka.

Database

The application uses MongoDB Atlas as its database.

Technologies Used

  • 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.

API Endpoints

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.

Contributing

Contributions are welcome! If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Commit your changes
  5. Push the branch to your fork
  6. Submit a pull request