https://github.com/silvae86/toggler
Toggler service
https://github.com/silvae86/toggler
Last synced: over 1 year ago
JSON representation
Toggler service
- Host: GitHub
- URL: https://github.com/silvae86/toggler
- Owner: silvae86
- License: mit
- Created: 2019-06-11T20:16:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-02T00:21:15.000Z (almost 7 years ago)
- Last Synced: 2025-01-30T13:43:08.029Z (over 1 year ago)
- Language: Java
- Size: 284 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Toggles Service
A demonstration of the development of a secured API using modern technology.
## Installation
- Allow chrome to accept a self-signed certificate for tests. In production, a certificate would have to be parametrized in the `conf/application.conf` file.
- Go to `chrome://flags/#allow-insecure-localhost`
- Enable the setting
- Restart Chrome
## Usage
## Testing
## Architecture
### Scalability
- Since the application does not keep any state information , it can be scaled to any number of replicas using Docker Swarm.
- MongoDB can run in cluster mode if necessary by adding more containers as needed
### Security and authentication
- Only HTTPS is allowed to prevent MITM attacks
- JWT is used to secure the API against undesired access
### Tech Stack
- OpenAPI 2.0 and Swagger-UI
- Java (Play Framework 2.7.2), SBT, Gradle
- MongoDB database
- Docker