Giter Club home page Giter Club logo

doctor-label's Introduction

doctor-label

This is a web system that allows Doctor labelling cases.

You start the application on Login Home Page accessing the URL http://localhost:4200

login-home-capture-doctor-label

After you put your credentials like e-mail and password and if they are valide, you will redirect to Case Page.

labelling-screen-doctor-label

Here, you can see your Next Case or the actual Case that you are working.

You can choose more than one Label for this cases and when you are able to get next case you click on button Next Case.

You only will be see next case when you click on this button, otherwise, you will keep see tha Case that you are working.

We believe that on some cases, you need to a break and that's why wee keep the Case with you if you starting labelling the case.

Back-end Technology stack used

  • Java 11
  • Spring Boot Web 2.4.3
  • Spring Boot Starter Data JPA
  • Spring Boot devtools
  • Spring Boot Starter Test
  • Spring Boot Starter Validation
  • Spring Cloud Starter Openfeign
  • Spring Boot Starter Security
  • IO JSON WEB TOKEN v0.9.1
  • SPringFox Swagger 2 v2.9.2
  • SpringFox Swagger UI v2.9.2
  • Mysql
  • Docker
  • Maven

Front-End Technology stack used

  • Angular 11.2.3
  • Angular CLI 11.2.3
  • angular-ng-autocomplete
  • Node 14.15.4
  • Bootstrap 4.6.0
  • Font-Awesome 4.7.0

Runnning Spring Boot Applicaiton DoctorLabel Label Service Back-End Microservices "traditional way"

git clone https://github.com/igormelao/doctor-label-service.git
cd doctorlabel-label-service
# You need a instancy of Mysql running on port 3306 with
 - database: db_dev_doctor_label
# Generate JARs with Maven
 - mvn clean package
# Starting Spring Boot Projet 
 - with JAR generated, go to the folder /target and just run  command
  - java -jar doctorlabel-label-service-0.0.1-SNAPSHOT.jar
  
PS: The Spring Boot will run the file inside of project data.sql and will populate some data.  

http://localhost:8080/labels/
 

Runnning Spring Boot Applicaiton DoctorLabel Labelling Service Back-End Microservices "traditional way"

git clone https://github.com/igormelao/doctor-labelling-service.git
cd doctorlabel-labelling-service
# You need a instancy of Mysql running on port 3306 with
 - database: db_dev_doctor_labelling
# Generate JARs with Maven
 - mvn clean package
# Starting Spring Boot Projet 
 - with JAR generated, go to the folder /target and just run  command
  - java -jar doctorlabel-labelling-service-0.0.1-SNAPSHOT.jar
  
PS: The Spring Boot will run the file inside of project data.sql and will populate some data.  

You need to authenticate to use this application.

Make a POST request with credentials e-mail and password to 
http://localhost:8081/auth/

It will return a token and type Bearer. Keep it to send with other requests to access the services

Build and run using Docker Compose for Back-end Microservices DoctorLabel Label Service and DoctorLabel Labelling Service

# Go to folder doctorlabel-label-service
  cd doctorlabel-label-service
# Generate JARs with Maven
 - mvn clean package
# Generate Docker Image
 - docker build -t doctor/label . 
 
 # Go to folder doctorlabel-labelling-service
  cd doctorlabel-labelling-service
# Generate JARs with Maven
 - mvn clean package
# Generate Docker Image
 - docker build -t doctor/labelling . 

# Go to the main project doctor-label
cd doctor-label
# Run Docker-Compose command
docker-compose build && docker-compose up

PS: The containers mysql:5.7, doctor/label and doctor-labellingapp will run, but, I couldn't manager that Spring Boot insert data.sql data inside the Mysql container.
 When Back-nd Microservices be runing, you can see all resources for the API through documentation generated automatically by Swagger Project on
 
 # Doctor-Label-Services
 http://localhost:8080/swagger-ui.html#
 
 # Doctor-Labelling-Services
  http://localhost:8081/swagger-ui.html#

Front-End

  • Go to the folder doctor-label-front
  • Run command ng s --o
  • It will open automatically a browser
  • For the UI, Access your browser at http://localhost:4200

Demo Credentials

doctor-label's People

Contributors

igormelao avatar

Watchers

James Cloos avatar  avatar  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.