Files & Folders + started on pom.xml
This commit is contained in:
76
BrickLog-Server/pom.xml
Normal file
76
BrickLog-Server/pom.xml
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>com.example</groupId>
|
||||||
|
<artifactId>BrickLog-Server</artifactId>
|
||||||
|
<version>0.1-SNAPSHOT</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<java.version>21</java.version>
|
||||||
|
<spring.boot.version>3.1.1</spring.boot.version> <!-- Use the latest version -->
|
||||||
|
<javafx.version>21.0.5</javafx.version> <!-- Use the appropriate JavaFX version -->
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<!-- Spring Boot Starter Web -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Spring Data JPA -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Database Driver (e.g., H2, MySQL, PostgreSQL) -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.h2database</groupId> <!-- Change this to your database -->
|
||||||
|
<artifactId>h2</artifactId>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Spring Boot Starter Test -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||||||
|
<version>${spring.boot.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- JavaFX Dependencies -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.openjfx</groupId>
|
||||||
|
<artifactId>javafx-controls</artifactId>
|
||||||
|
<version>${javafx.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.openjfx</groupId>
|
||||||
|
<artifactId>javafx-fxml</artifactId>
|
||||||
|
<version>${javafx.version}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
<version>${spring.boot.version}</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.8.1</version>
|
||||||
|
<configuration>
|
||||||
|
<source>${java.version}</source>
|
||||||
|
<target>${java.version}</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
@@ -0,0 +1,15 @@
|
|||||||
|
package com.example.bricklog;
|
||||||
|
|
||||||
|
import org.springframework.boot.SpringApplication;
|
||||||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||||
|
|
||||||
|
@SpringBootApplication
|
||||||
|
@EnableJpaRepositories(basePackages = "com.example.bricklog.repository") // Adjust if needed
|
||||||
|
public class BrickLogApplication {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
SpringApplication.run(BrickLogApplication.class, args);
|
||||||
|
System.out.println("BrickLog Server is running...");
|
||||||
|
}
|
||||||
|
}
|
30
README.md
30
README.md
@@ -1,3 +1,31 @@
|
|||||||
# BrickLog
|
# BrickLog
|
||||||
|
|
||||||
A Client application that interfaces with BrickLog-Server to store and manage Lego builds and MoC creations
|
A Client application that interfaces with BrickLog-Server to store and manage Lego builds and MoC creations.
|
||||||
|
|
||||||
|
The Client should be able to be used on linux and windows systems ass it will be Java based.
|
||||||
|
|
||||||
|
The Server will be made Docker compatible and there may be other versions made as well (ie. no Docker needed)
|
||||||
|
|
||||||
|
### Features:
|
||||||
|
- A GUI (so youdon't have to use the command line or terminal)
|
||||||
|
- Ability to quickly see your builds
|
||||||
|
- See who built them
|
||||||
|
- see whether it is a Kit or a MoC
|
||||||
|
- see details of the build (Piece count, Price, Link to the kit on Lego.com etc) [ this should be direct from the lego.com website ]
|
||||||
|
- browse a gallery of the build images
|
||||||
|
- builds and builders will be searchable (search: [ builderName123 ] will only show all builds that builderName123 has done)
|
||||||
|
- A quick Server that stores all the information
|
||||||
|
|
||||||
|
## [!WARNING]
|
||||||
|
- There will not be a username / password to access the information from the Client.
|
||||||
|
- There will be the neccassary auth on the server side to make sure that the databse is secure and only the Client can access the server's database.
|
||||||
|
|
||||||
|
### Minimal Config Needed
|
||||||
|
The following will be needed to make the connection to the server from the client:
|
||||||
|
|
||||||
|
- The server's IP address (link) will need to be added to the relevant setting dialogue when the client starts
|
||||||
|
|
||||||
|
## [!NOTE]
|
||||||
|
You should be able to access the data and create / edit / delete records with just the above setup.
|
||||||
|
|
||||||
|
- N.B. There will eventually be a "dark" mode but this will be a while down the track and located in the Client -> Settings -> Client Theme option
|
Reference in New Issue
Block a user