Giter VIP home page Giter VIP logo

ayushivashisth / customer-relationship-management-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 26 KB

This repository contains the backend implementation of a Customer Relationship Management (CRM) system developed using Node.js, Express, and MongoDB. The CRM system manages user accounts, handles public enquiries, and allows employees/counsellors to claim and manage leads.

Home Page: https://crm-api-su4c.onrender.com/

JavaScript 100.00%
express mongobd mongoose nodejs npm npm-package npm-scripts render

customer-relationship-management-system's Introduction

๐Ÿš€ customer-relationship-management-system ๐Ÿš€

This repository contains the backend implementation of a Customer Relationship Management (CRM) system developed using Node.js, Express, and MongoDB. The CRM system manages user accounts, handles public enquiries, and allows employees/counsellors to claim and manage leads.

Backend Respositry URL ๐Ÿ‘‰ Click here

Technologies Used

Backend
express mongoose typescript

Tools
github npm vscode

Deployment
vercel netlify

Features

  • User Management:

    • Registration of employees and counselors.
    • User login for authentication using JWT tokens.
  • Enquiry Management:

    • Public form submission for prospective clients.
    • Employee/counselor can claim and manage leads.
    • APIs to fetch unclaimed leads and leads claimed by logged-in users.

Technology Stack

  • Node.js: Server-side JavaScript runtime.
  • Express: Web application framework for Node.js.
  • MongoDB: NoSQL database for storing user and enquiry data.
  • JWT (JSON Web Tokens): Token-based authentication for secure communication.

Project Structure

  • Config: Database configuration files.
  • Middleware: Authentication middleware.
  • Models: MongoDB schema definitions for User and Enquiry.
  • Routes: API routes for User and Enquiry functionalities.
  • Index.js: Main entry point for the application

API Endpoints

  • User Management:

    • POST /user/register: Register a new user.
    • POST /user/login: Authenticate and log in a user.
  • Enquiry Management:

    • POST /enquiry/publicForm: Submit a public enquiry form.
    • POST /enquiry/claimLead/:enquiryId: Claim a lead by an authenticated user.
    • GET /enquiry/unclaimedLeads: Get unclaimed leads (requires authentication).
    • GET /enquiry/myLeads: Get leads claimed by the logged-in user (requires authentication).

Getting Started

  1. Clone the repository: git clone
  2. Install dependencies: npm install
  3. Configure environment variables: Create a .env file based on .env.example and provide necessary details.
  4. Start the server: npm start
  5. The server will be running at http://localhost:8080

This is an individual project that I developed as a solo backend developer within 2 hours.

Contribution Guidelines

We welcome contributions to the customer-relationship-management-system project. If you have ideas for new features or find any bugs, please open an issue in the repository. Pull requests are also encouraged.

Show Your Support

If you find this project interesting or valuable, please consider giving it a โญ๏ธ.

๐Ÿš˜ Happy Exploring! ๐Ÿš˜

customer-relationship-management-system's People

Contributors

ayushivashisth avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.