Skip to content

novastellaa/mock-apotek-APIs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apotek APIs

Apotek APIs is a RESTful API service designed to support pharmacy management systems. This project provides endpoints to handle drug inventory, prescriptions, sales transactions, and other pharmacy-related functionalities, enabling easy integration with front-end applications or other systems.

Features

  • Manage drug inventory: add, update, delete, and list medicines
  • Handle prescription records and validations
  • Process sales transactions with detailed receipts
  • User authentication and role management
  • Secure and scalable API design

Technologies Used

  • [Your backend framework, e.g., Node.js, Express, Django, Flask]
  • [Database system, e.g., MySQL, PostgreSQL, MongoDB]
  • JWT for authentication (if applicable)
  • REST API standards

Installation

  1. Clone the repository:
    git clone https://github.com/novastellaa/apotek-APIs.git
    cd apotek-APIs
  2. Install depedencies:
    # For Node.js example
    npm install
    
  3. Configure environment variables:
    DB_HOST=your_db_host
    DB_USER=your_db_user
    DB_PASS=your_db_password
    JWT_SECRET=your_jwt_secret
    PORT=your_port
    
  4. Run database migrations (if applicable):
    # Example for Sequelize ORM
    npx sequelize db:migrate
    
  5. Start the server:
    npm start

About

Apotek APIs — RESTful APIs for pharmacy management, including drug inventory, prescriptions, and sales transactions, designed to streamline pharmacy operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors