Skip to content

peakacom/embedded-peaka-node-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Peaka Node Example

Sample node / express project to demonstrate Embedded Peaka UI integration and Peaka node client usage. Project has backend and frontend implementations. Backend is implemented using Express framework. 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

Copy the environment file example file:

cp .env.example .env

Replace <YOUR_PARTNER_API_KEY> with your own partner API Key. Then install required packages with commands below.

npm install

Then start express app with following command.

npm start

Your backend app should start running on port 3001.

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published