Skip to content

amosmachora/pharmaone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pharmaone Fullstack Application

This is a full-stack pharmacy management application that consists of a frontend written in React and a backend written in Java with the Spring framework.

Acknowledgements

Authors

Pharmaone Logo

🚀 About Me

I'm a full-stack developer experienced in working with various technologies.

Please consider checking out my other projects as well. 🤗

Installation

The backend application is hosted on AWS and serves data to the frontend application. You can access the frontend application through the following URL: Pharmaone Frontend

Backend Endpoints

The backend provides the following endpoints:

  • /getallmedicine: Get a list of medicines.
  • /getbygroupid/{groupId}: Get a list filtered by group ID.
  • /getnumberofmedicineingroup/{groupId}: Get the number of medicines in a certain group.
  • /getsinglemedicine/{medicineId}: Get data about a single medicine.
  • /addMedicine: Add medicine to the database.
  • /modifymedicine/{medicineId}: Update medicine information.
  • /deletemedicine/{medicineId}: Delete medicine.
  • /changeMedicineGroup/{medicineId}/{groupId}: Change medicine group.
  • /sellMedicine/{medicineId}: Make a sale.
  • /getallgroups: Get a list of all medicine groups.
  • /addNewGroup: Create a new medicine group.
  • /deletegroup/{groupId}: Delete a certain group.
  • /getListOfSales: Get a list of sales.
  • /suppliers/getAllSuppliers: Get a list of suppliers.
  • /getAllUsers: Get a list of users.

The data used by the backend is exclusively in JSON format.

You can try out the API by accessing the endpoints that do not require parameters, for example:

Frontend Features

The frontend application written in React includes the following features:

  • Collapsible menus
  • Mobile responsiveness
  • Cross-platform compatibility

Learning Resources

If you're interested in learning more about the technologies used in this project, the following resources can be helpful:

Links