Application to counting calories. You can run it as web application or in text-gui mode(Screenshots on the bottom).
- Node.js
- Angular CLI
- Database (By default it using PostgreSQL)
- Maven
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
You have two options:
- Run only server
run with your IDE:
CalorieeCApplication.java
located in.src/main/java/pl/mycalories
- 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.
Go to ./frontend
folder and in the bash console enter:
npm install
npm start
orng serve
to start front-end server for development.
By default server will be running on port 4200.