Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 2.97 KB

File metadata and controls

46 lines (34 loc) · 2.97 KB

FREEMED SERVER

Build Status Go Report Card codecov GoDoc Join the chat at https://gitter.im/freemed/freemed-server

Refactoring of FreeMED in Golang / Gin.

The backend uses:

The frontend uses:

Code in this repository can be run against a valid FreeMED 0.9.x series database with no modifications.

Caveats

  • MySQL's ONLY_FULL_GROUP_BY needs to be disabled -- at least until the queries have been rewritten to no longer require it. This can be temporarily accomplished with SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));, but should have the actual MySQL server configuration adjusted for it in production systems.

Architectural changes from FreeMED 0.9.x

  • Redis Sessions. Sessions are stored in Redis, to decrease load on the MySQL server. (TODO: Move to Redis cluster for full redundancy)
  • Authentication. Switched from cookies to renewable Bearer Authorization headers.
  • UI Architecture. Switched from GWT pre-generated specific javascript to simple jQuery frontend with Bootstrap using RESTful API.

Other CC/Opensource Resources