Skip to content

peakacom/embedded-peaka-java-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Peaka Java Example

Sample java project to demonstrate Embedded Peaka UI integration and Peaka JDBC Driver usage. Project has backend and frontend implementations. Backend is implemented using Spring Boot framework. Backend makes API calls to Peaka Partner API. You can check the Partner API details from Peaka Documentation. Frontend is implemented with vite, react, tailwind and radix-ui.

You need to run backend and frontend together. Here is how you can do the setup for both of them:

Backend Setup

Open a terminal go into backend folder.

cd backend

Open the application properties file with an editor, we are using nano in the example belowe:

nano src/main/resources/application.properties

Replace <YOUR_PARTNER_API_KEY> with your own partner API Key. Then install dependencies with maven by running:

./mvnw clean install

Then start spring boot app with following command.

./mvnw spring-boot:run

Your backend app should start running on port 8080.

Frontend Setup

Open a terminal go into frontend folder.

cd frontend

Install dependencies using npm then start project with commands below.

npm install
npm run dev

Your frontend app should start running on port 5173

Contact

For feature requests and bugs, please create an issue in this repo. For further support, see the following resources:

About

Example Project for Embedded Peaka with Java Backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published