Releases: LewisWatson/carshare-back
Releases · LewisWatson/carshare-back
Auto-onboarding of valid Firebase users.
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.
Ensure the database connection is always stored in the context, not just when CORS is enabled.
Pre-release
Pre-release
Fixed
- Ensure the database connection is always stored in the context, not just
when CORS is enabled.
Trip Access Control and Prometheus Instrumentation
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
Fixed
- Use full mgoURL from command line to connect to database
Switch to Alpine base docker image
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
Fixed
- Re-introduce environmental variable configuration support (for docker)
Add Authentication and Access Control
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
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
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