Web app to counting calories
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.mvn/wrapper
fronted
screenshots
src
text_interface/src/pl/mycalories
.gitignore
LICENSE
README.md
mvnw
mvnw.cmd
pom.xml

README.md

MyCalories

Application to counting calories. You can run it as web application or in text-gui mode(Screenshots on the bottom).

Prerequisites

Configurations

Before you run application you need to configure database and liquibase properties. Properties are located in ./src/main/resources/application.properties ./src/main/resources/liquibase/liquibase.properties

Default settings

driver=org.postgresql.Driver
url=jdbc:postgresql://localhost:5432/MyCalories
username=postgres
password=admin

Build and Run

You have two options:

  1. Run only server run with your IDE: CalorieeCApplication.java located in .src/main/java/pl/mycalories
  2. Run server with TextGUI run with your IDE: Main.java located in .text_interface/src/pl/mycalories or run with maven: mvn spring-boot:run

By default server will be running on port 8080.

Development

Go to ./frontend folder and in the bash console enter:

  1. npm install
  2. npm start or ng serve to start front-end server for development.

By default server will be running on port 4200.

Screenshoots

alt text alt text alt text
alt text alt text alt text