Skip to content
GroceryFamilyPublic

About

GroceryFamily BackEnd

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

BackEnd

Build Status

How to run server locally

The project currently utilizes Java 17. Install SDKMAN! and install the same version that is used for automatic builds:

sdk install java 17.0.11-tem

You can set is as default version or switch to it manually:

sdk use java 17.0.11-tem

Install and run MySQL server locally

Create secrets/application-secrets.yaml in the project's root directory with the following content:

spring.datasource:
  username: USERNAME
  password: PASSWORD

Replace USERNAME and PASSWORD with actual values

Now everything is ready to start application server:

mvn -pl server -am spring-boot:run

How to load some data to database

Run MySQL server, which is used by server in runtime, and scrap some data:

mvn -pl scraper -am spring-boot:run

News

  • GroceryDad now talks to GroceryMom via the API client, so the server must be running when scraping

Cache

It seems like a good idea to use GitHub LFS for our cache, so we can reuse it in tests. The installation and configuration instructions can be found here and here respectively.

About

GroceryFamily BackEnd

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages