Skip to content

Doctor's application to assign medicines

Notifications You must be signed in to change notification settings

SPiedra955/pharmacy_

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

Introduction

This is a project in which we have to design a web application related to a pharmacy with this application we are going to use Servlets, HTML, CSS, Java, JavaScript, Maven and Tomcat Server to create it. The instructions of what methods we have to use and its functions are as follows:

Project

In the current project we have three main pages that are Login.html, Gestio.html, Alta.html that I will explain in this section, the three pages work with Servlets and instances of the XMLHttpRequest object. The XMLHttpRequest object is used in JavaScript to make asynchronous HTTP requests to a server. The GET and POST methods are two of the most common HTTP methods used to send requests to a server.

Login

It is a page where the user accesses with his username and password, the user information is stored in the database, the user must be created previously.

Login view

image

Gestio

On this page the doctor can see all patients related to his or her user as well as the name of the medicine prescribed to a patient and the date until which he or she has to continue the medication. In addition, there is a Alta button which will be used to prescribe new medicines to other users or the same in a new page.

Gestio View Doctor 1

image

Gestio View Doctor 2

image

Alta

This is the last web page, its functionality is to add an id for a xip to assign a patient by means of his e-mail and a medicine with date assigned by a doctor, once the fields are filled they are sent to the database and to check that they are inserted we go back to Gestio which will load the new inserted data.

View Alta

image

Patients

image

Medicines

image

Calendar

image

New record

image

Back to Gestio

image