/appointment-service

A date service

Primary LanguageTypeScriptMIT LicenseMIT

Appointment Service build

An appointment service

Start

Before: mysql

docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=1234 -p3306:3306 -d --rm mysql:5

Run locally

npm ci
set -a
source local.env
ts-node bin/setupDatabase.ts
npm start

Open http://localhost:3000/documentation/

NB: In order to invoke APIs, you need to login. There're no user database so any username/password and client_id/client_secret are allowed

Test

npm ci
npm test

TODO

  • http interface
  • login
  • ACL
  • Test
  • Better swagger tag
  • Configure CI
  • Move to Lambda using aws-lambda-fastify