Skip to content

Baoufa/espresso-donation-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Espresso Donation Box

Live demo app: benjamin-espresso-donation-box.vercel.app


License: GPL v3 Sepolia Testnet
Twitter Follow

Backend

Requirements

You need to install Shuttle CLI.

Run locally

You can launch the API at http://localhost:8000 with the following command:

cargo shuttle run

# in another terminal, you can test the API with
curl http://localhost:8000/ -v
curl http://localhost:8000/donation -v

Deploy

Run cargo shuttle deploy to deploy your Shuttle service.

Frontend

Installation

Install the dependencies:

pnpm install

Update environment variables

Copy .env.example to .env.local and update the values.

Run locally

Run locally with the following command:

pnpm dev

and then open localhost:3000 in your browser.