Skip to content

This pharmacy application where user can load hospital records

Notifications You must be signed in to change notification settings

nahimanajz/pharmacy-aug-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pharmacy

Pharmacy is an application to show information based on authorized user among pharmacist, patien, physician and admin who monitors everything.

Node server

excel to json libray to read excel files and middleware to check who were auntenticated.

Installation guide

 cd node-server && npm install
 npm start

Endpoints

Method API Description
POST http://192.168.1.64:8080/servlet/Authenticate Login user
POST http://192.168.1.64:8080/servlet/Signup Register new user
POST http://192.168.1.64:9000/api/v1/getinfo get pharmacy info based on signed in user

REACT JS

It has webpages to show off pages related to logged in user.

Installation guide

cd client && npm install
npm start

Servlet

  1. Open netbeans
  2. Click file > open > servlet> download and import gson-2-8-2.jar and java.json.jar libraries there you can read JSON key:value pair from reactjs or postman
  3. Add tomcat server as well to serve APIs

Tools

docker

  • Hopefully you have installed docker other wise get it from here and run the following commands in terminal
  • cd client
    docker build -t container_name . 
    docker run -d -p 3000:3000 container_name
    
    Later on open browser and type localhost:3000 signup page is expected to be loaded
  • cd node-server
   docker build -t container_name . 
   docker run -d -p 9000:9000 container_name
   ```
Later on open browser and type localhost:9000/testDocker ` Docker is working... is expected to be opened in webpage`

About

This pharmacy application where user can load hospital records

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published