Code Monkey home page Code Monkey logo

ehrs-spring-backend's Introduction

Spring-Backend

Live demo with front-end integrated: click here

Here are some accounts you may want to try.

Sample patient account

You can try to register a new account and play with it

Sample doctor account

email: [email protected]

password: [email protected]_password

Sample doctor account

email: seimc1228

password: seimc1228_password

API documentation: Powered by Postman

Backend Service Url: https://server.alicialuo.com

Please see the above API doc about how to send requests to the backend server

Technical stack

Web Framework: Spring Boot

Security Framework: Apache Shiro

Persistence: MyBatis

Dependency Management: Maven

Necessary softwares and libraries

  1. Please download the Enterprise Version of IDE Eclipse
  2. Install Maven library in case your IDE does not have it
  3. Set up the Tomcat server to Apache Tomcat v9.0
  4. Load the spring folder to Eclipse

Configuration File

  1. The default port is 8080 which means you can access the web service through localhost:8080
  2. To change the service host, add spring.port=xxxx in the file application.properties

Database Setup

  1. Get a MySQL database
  2. Import the sql file createTable.sql to create all the schemas
  3. Setup the databse connection in resources/application-dev.properties

Email Service Setup

  1. Get an enterprise version of google email account
  2. Configure the email connection in resources/application.properties
  3. Enable the Allow less secure applications toggle in your google account and allow STMP in your gmail setting

Start the program

  1. Run maven clean on the whole folder to remove any previous compiling
  2. Run maven build on the whole folder with Tomcat to compile the program after changes
  3. Run file Application.java to start the web service

Notes

  1. No need to install any dependencies as maven will automatically install for you
  2. You may also run maven install to replace maven clean and maven build. maven install will also run unittest automatically

ehrs-spring-backend's People

Contributors

alicia1529 avatar

Watchers

 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.