GithubHelp home page GithubHelp logo

aolmez / health-care-system-sb-angular Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akg07/health-care-system-sb-angular

0.0 0.0 0.0 18.05 MB

This is a spring-boot and Angular integrated HealthCare System enabled with spring-security and JWT token authentication

JavaScript 0.52% TypeScript 30.02% CSS 3.51% HTML 13.25% Java 52.69%

health-care-system-sb-angular's Introduction

Health Care System

  • Used Spring-boot for server handling, All API written in spring boot.

  • Used Spring security and JWT authentication for security and Login purpose.

  • Annotation applied only in spring-boo, NO XML code

  • In Angular we developed Frontend pages i.e. Login, Home, Differnet functionalites

  • User and Admin, Two type of roles are present.

  • User is like an employee in organization, and Admin is Administrator.

  • Search functionality are given by the use of Pipe

Angular-Client should be on http://localhost:4200

Spring-boot-server should run on http://localhost:8080

MYSQL

  • Data Will be store in Mysql-Database
  • Database name is HMSSpring2
  • Give your username and password in application.properties file in spring boot
  • Make sure your mysql is running on 3306 else you have to change the port in application.properties file in spring boot

Mandatory Commands you have to run

Manual

  • Open your Mysql-workbench or Mysql 8.0 Command line client
  • if Database exists Use HMSSpring2; else create database and run Spring-boot server application and then come to this point
  • Insert Some Data into tables.

Existed Commands

  • Goto Spring boot -> hms.sql And run this file in workbench.

Commands

insert into roles values(1, 'ROLE_USER');
insert into roles values(2, 'ROLE_ADMIN');

insert into users values(1, '$2a$10$nuyV4m3SpBYuqzdRvQK4iO1PI9O0SkLyHQP2YB8CFksVJirzGrDT2', 'admin'); Password : admin123
insert into users values(2, '$2a$10$ef4yjYkFjmAjnQk/GPecK.VxaNmpe6yPfBoZh9dcW1.uzf1zFYemu', 'user');' Password : user123
This is Encrypted Password

insert into user_roles values(2, 1);
insert into user_roles values(1, 2);

There is no signup option in Angular-clinet when it is running on chrome but you can go to signup page by writting this URL http://localhost:4200/signup it will create only User role profile for you

Access

Admin has all accesses
User has all access except Specialization, Department, Employee pages If you try using url then it will show you are not authorised

Images

Login Page

Image of Login

ADMIN Home Page

Image of Admin home paage

Admin Panel

Image of Admin Panel-Options

Patinet List

Image of patient list

Medicos Form

Image of Medicos Form

Bill List

Image of Bill list

Invoice Pr.1

Image of Invoice

Invoice Pr.2

Image of Invoice

Invoice PDF View

Image of Invoice PDF

Contact Us

Image of Contact Us

About Us

Image of about Us

User-role Options-panel

User Options

When user is not authorised

User not authorised

health-care-system-sb-angular's People

Contributors

akg07 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.