Trollo is a Trello clone with a server written in Java using Spring Boot and Hibernate with H2 for both testing and running, and a client running React with TypeScript through Vite, using Redux for state management.
Follow these steps to get Trollo up and running:
-
Clone the Repository:
git clone https://github.com/yourusername/trollo.git cd trollo
-
Build the Java Backend:
To build the Java backend, you'll need the Java Development Kit (JDK) installed on your system. Run the following command from the project root directory:
cd ./server ./gradlew clean build
This command will compile the server code and create the necessary JAR file.
-
Start the Server:
After building the backend, you can start the server using the following command:
./gradlew spring-boot:run
-
Navigate to the Client Directory from the trollo folder:
cd client
-
Install Node Packages:
To install the required Node.js packages for the client, run:
npm install
-
Start the Client:
Run the client application using Vite's development server:
npm run dev
After starting the server, you can access the Swagger documentation at:
http://localhost:3000/swagger-ui.html
This is only a small project to get back into Java as well as wrapping my head around some concepts.
This Readme is in parts also written by chatGPT.