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.
- 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
- [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
- Clone the repository:
git clone https://github.com/novastellaa/apotek-APIs.git cd apotek-APIs - Install depedencies:
# For Node.js example npm install - 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
- Run database migrations (if applicable):
# Example for Sequelize ORM npx sequelize db:migrate - Start the server:
npm start