Delivering healthcare solutions with a powerful API
This REST API serves as the backbone for a medicine store ecommerce application, empowering users to seamlessly manage products, orders, and more. Built with a focus on security, reliability, and scalability, it's ready to handle your pharmacy's needs.
✨ Key Features:
- Secure User Authentication and Authorization using bcryptjs and jsonwebtoken
- Robust Product Management for keeping track of medicines and inventory
- Streamlined Order Processing to handle purchases efficiently
- MongoDB Integration for flexible data storage and retrieval
- Clean Code Architecture with clear separation of concerns
- Thorough Testing and Linting to ensure quality and maintainability
Technology Stack:
- Node.js for server-side runtime
- Express.js for web framework
- MongoDB for database
- Mongoose for MongoDB object modeling
- Axios for making HTTP requests
- JSON Web Tokens (JWT) for authentication
- Bcryptjs for password hashing
- ESLint for linting and code quality
Getting Started:
- Clone this repository:
git clone https://github.com/ThePratikSah/node-mongo-medadmin-api.git
- Install dependencies:
npm install
- Create a
.env
file and set environment variables (see .env.example) - Seed dummy data using Faker
npm run seed
- Start the development server:
npm run dev
- Access the API at
http://localhost:3000/
Documentation: API endpoints and usage examples are available in the /docs folder (coming soon!)
Contributing: We welcome contributions!
Additional Features (Planned):
- Search Functionality for efficient product discovery
- User Profiles for personalized experiences
- Admin Dashboard for managing the store
- Integration with Payment Gateways for secure transactions
Let's build a healthier future together!