Skip to content

Simplifying access to medicinal dispensaries with features like real-time order tracking and data-driven product suggestions

License

Notifications You must be signed in to change notification settings

MuhammadBilal-arch/MERN-Stack-Pharmacies-Management

Repository files navigation

MERN Stack Backend

This is the backend for a MERN stack application, built with Node.js, Express.js, and MongoDB. It handles multiple modules including cart, categories, chat, dispensary, notifications, orders, products, taxes, transactions, users, and user locations.

Table of Contents

Technologies Used

  • Node.js
  • Express.js
  • MongoDB (with Mongoose ODM)
  • JWT (JSON Web Tokens) for authentication
  • bcrypt for password hashing
  • dotenv for environment variables
  • Nodemon for development

Prerequisites

Make sure you have the following installed:

Installation

  1. Clone the repository:

    git clone <repository-url>
  2. Navigate to the backend directory:

    cd backend
  3. Install dependencies:

    npm install

Environment Variables

Create a .env file in the root directory and configure the following environment variables:

# MongoDB connection string
MONGO_URI=mongodb://localhost:27017/mydatabase

# JWT secret key
JWT_SECRET=your_jwt_secret

# Port for the server
PORT=5000

About

Simplifying access to medicinal dispensaries with features like real-time order tracking and data-driven product suggestions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published