GitXplorerGitXplorer
s

medical-appointment-scheduling-server

public
62 stars
35 forks
30 issues

Commits

List of commits on branch master.
Unverified
29f497871a79c13f333938bfe4ab47265812dbd5

Merge pull request #23 from sebastianhaas/greenkeeper/loopback-component-explorer-5.0.0

ssebastianhaas committed 7 years ago
Unverified
30c08846276d7c29a842dd5b815c5f7df970fec7

fix(package): update loopback-component-explorer to version 5.0.0

ggreenkeeper[bot] committed 7 years ago
Unverified
a806d5479d81ff3183765984acec5c3696541357

Merge pull request #22 from sebastianhaas/greenkeeper/socket.io-2.0.1

ssebastianhaas committed 8 years ago
Unverified
664deba2b061660189b87cd19a3c87c2ff6c95ff

fix(package): update socket.io to version 2.0.1

ggreenkeeper[bot] committed 8 years ago
Unverified
f4ec01c11cd55886b821e124866b8e43d7423690

Merge pull request #20 from sebastianhaas/greenkeeper/socket.io-1.7.4

ssebastianhaas committed 8 years ago
Unverified
a8ca154a9909b949336c357395590854345958ab

fix(package): update socket.io to version 1.7.4

ggreenkeeper[bot] committed 8 years ago

README

The README file for this repository.

medical-appointment-scheduling-server

Greenkeeper badge Build Status Join the chat at https://gitter.im/sebastianhaas/medical-appointment-scheduling Dependency Status Node Security Platform

This is a backend for sebastianhaas/medical-appointment-scheduling built with loopback (express).

Features

Local setup

Clone this repository and run

$ npm install

with a postgres database set up according to the datasources.json config file running, start the server using

$ npm start

You might want to set up a dummy mail server for Email notification to work locally. Configuration can be found in datasources.json.

Browse to http://localhost:3000/explorer to take a look on the API using the explorer. Test data can be added using the respective endpoints:

# Start with:
post /Examinations/insertTestData
post /Patients/insertTestData
post /Rooms/insertTestData

# Afterwards:
post /appointments/generateRandomAppointments 

# And finally:
post /Attendances/generateRandomAttendances

Some of these endpoints have an optional locale parameter to generate test data appropriate for a specific locale (currently only de and en). Just use the API explorer to find out about it.

Demo application

The latest master of this repository is always published to Heroku. You can either use the API directly, browse the API explorer or take a look through the frontend.

Due to the limitations of Heroku's free dynos and database service, it might take a while for the application to load initially. Also, there is a 10k row limit for free databases. Sometimes you might have to wipe test data other users created before being able to add new content.