https://github.com/goto-eof/no-smoking-ai
A set of applications that aim to record and predict, through Machine Learning, the number of cigarettes a user might smoke.
https://github.com/goto-eof/no-smoking-ai
java machine-learning spring-boot swing
Last synced: about 1 month ago
JSON representation
A set of applications that aim to record and predict, through Machine Learning, the number of cigarettes a user might smoke.
- Host: GitHub
- URL: https://github.com/goto-eof/no-smoking-ai
- Owner: goto-eof
- Created: 2025-04-28T04:09:17.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-02T16:52:48.000Z (about 1 year ago)
- Last Synced: 2025-06-03T06:58:37.773Z (about 1 year ago)
- Topics: java, machine-learning, spring-boot, swing
- Language: Java
- Homepage:
- Size: 309 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# No Smoking
A set of applications that aim to record and predict, through Machine Learning, the number of cigarettes a user might
smoke.

# First run
- build `no-smoking-java-common` by executing the following command `gradle publishToMavenLocal`. Gradle will create a
jar file in the .m2 directory that will be used by
`no-smoking-java-desktop` and `no-smoking-java-server` modules.
- run `sudo docker compose up -d` in order to create the containers defined
in the `docker-compose.yml` files.
```bash
sudo docker compose -f docker-compose.db.yml up -d --build
sudo docker compose -f docker-compose.java-server.yml up -d --build
sudo docker compose -f no-smoking-python-server/docker-compose.python-server.yml up -d --build
```
- edit the `no-smoking-java-server/src/main/resources/application.yml` file which belongs to the
`no-smoking-java-server` module.
- run `no-smoking-java-server` and `no-smoking-java-desktop` projects.
# Technologies/Tools
Java, Spring Boot, OpenFeign, hibernate, Spring JPA, Spring Security (OTP authentication), PostgreSQL, lombok, git,
python, swing, Lombok.