https://github.com/ff4j/ff4j-demo
Demo App you can easily test running at https://ff4j-demo.herokuapp.com/
https://github.com/ff4j/ff4j-demo
Last synced: about 1 month ago
JSON representation
Demo App you can easily test running at https://ff4j-demo.herokuapp.com/
- Host: GitHub
- URL: https://github.com/ff4j/ff4j-demo
- Owner: ff4j
- Created: 2020-05-05T11:12:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T08:11:33.000Z (8 months ago)
- Last Synced: 2025-03-28T20:36:36.170Z (about 2 months ago)
- Language: Java
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 5
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FF4j Sample Series
This sample uses the `spring-boot-starter` and define some extra beans to:
- Create a `ff4j` bean full in-memory
- Create the web console bean and expose it to proper url `/ff4j-web-console`
- Create REST API expose it to proper url `/api/ff4j`To run the app :
```
mvn spring-boot:run
```The application is now running on `http://localhost:8080`
This sample could also be run as a demo as such it can be deployed as a docker image
```yaml
mvn clean package dockerfile:build
```Once the image is built you can run it with
```
docker run -p 8080:8080 ff4j/ff4j-sample-springboot2x:1.8.5
```Cheers.