Payfolio is a self-hosted payment application that serves as an alternative to Patreon, Ko-fi, and Buy Me a Coffee. It enables users to support creators by making small contributions. The platform allows users to choose the number of coffees they want to buy, enter their name and a message (both optional), specify the amount, and donate.
- Easy-to-use interface for making donations.
- Responsive design for a seamless experience on all devices.
- Dark mode support.
- Secure and fast transactions.
- Customizable donation options.
- Integration with Razorpay for handling payments.
- Next.js (React framework)
- Tailwind CSS
- TypeScript
- Node.js
- Razorpay (for payments)
Follow these instructions to get a copy of the project up and running on your local machine for development and testing.
- Node.js (v18 or higher)
- npm (v6 or higher) or yarn (v1.22 or higher)
- Clone the repository:
git clone https://github.com/muhammad-fiaz/payfolio.git
- Navigate to the project directory:
cd payfolio
- Install the dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install
To start the development server, run:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
The application will be available at http://localhost:3000
.
To build the application for production, run:
npm run build
# or
yarn build
# or
pnpm build
# or
bun build
This will generate an optimized production build.
You can deploy the application to platforms that support Next.js, such as:
- Vercel
- Netlify
- Railway
- DigitalOcean
- AWS, etc.
Payfolio uses Razorpay to handle payments securely. You will need to set up a Razorpay account and obtain the API keys to integrate it with Payfolio. Follow the Razorpay documentation for detailed instructions on setting up your account and obtaining the necessary credentials.
Contributions are welcome! Please read the CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.