Skip to content

Releases: LewisWatson/carshare-back

Auto-onboarding of valid Firebase users.

14 Nov 07:10
Compare
Choose a tag to compare

Changed

  • Auto-onboarding of valid Firebase users.
  • Introduce dependency management with golang/dep after run in with dependecncy hell
  • Target Go 1.9

Ensure the database connection is always stored in the context, not just when CORS is enabled.

03 May 06:56
Compare
Choose a tag to compare

Fixed

  • Ensure the database connection is always stored in the context, not just
    when CORS is enabled.

Trip Access Control and Prometheus Instrumentation

04 Apr 06:01
Compare
Choose a tag to compare

Added

  • Prometheus metrics collection via /metrics endpoint

Changed

  • Add access control to trip resource
  • New trips need to have a valid car share on creation
  • Switch to Gin Framework
  • Switch to https://github.com/op/go-logging for more flexible logging
  • Make firebase project configurable

Use full mgoURL from command line to connect to database

27 Mar 16:42
Compare
Choose a tag to compare

Fixed

  • Use full mgoURL from command line to connect to database

Switch to Alpine base docker image

23 Mar 08:06
Compare
Choose a tag to compare
Pre-release

Changed

  • Switch base docker image to alpine, reduces image size from 200mb+ to less than 20mb
  • Command line arguments working via docker run
    docker run carshare-back --port 1337 --mgoURL mongo
    2017/03/23 07:25:55 connecting to mongodb server via url: mongo
    2017/03/23 07:25:56 listening on :1337

Fix docker config

21 Mar 22:08
Compare
Choose a tag to compare
Fix docker config Pre-release
Pre-release

Fixed

  • Re-introduce environmental variable configuration support (for docker)

Add Authentication and Access Control

21 Mar 07:34
Compare
Choose a tag to compare
Pre-release

Added

  • CORS headers
  • Firebase JWT Validation
  • Restrict access by user

Changed

  • Update to Go 1.8
  • Command line configuration instead of environment variables

Fixed

  • Relation links between car shares, trips and users

Add mongoDB support and Dockerfile

10 Dec 23:35
Compare
Choose a tag to compare
Pre-release

Added

  • MongoDB data store support
  • Configure MongoDB URL via CARSHARE_MGO_URL environment variable
  • Configure server port via CARSHARE_PORT environment variable
  • Created Dockerfile

Changed

  • Standardisd ID's on BSON ObjectId
  • Overhaul error handling
  • Unit test now run twice. First with the fast in-memory data store (fail fast), then as an integration test against a MongoDB docker container

Create basic functionality with in memory data store

12 Nov 15:49
Compare
Choose a tag to compare

Added

  • Create basic functionality with in memory data store
  • Add ability to create users, car shares and trips via json:api REST interface and store in simple in memory data store.
  • Add README and CHANGELOG