https://github.com/asrvd/ponsor
getting sponsored made easy with widgets !
https://github.com/asrvd/ponsor
hashnode javascript nextjs planetscale prisma tailwindcss typescript
Last synced: 10 months ago
JSON representation
getting sponsored made easy with widgets !
- Host: GitHub
- URL: https://github.com/asrvd/ponsor
- Owner: asrvd
- License: mit
- Created: 2022-07-19T14:05:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-30T15:08:09.000Z (over 3 years ago)
- Last Synced: 2025-03-31T04:03:36.838Z (11 months ago)
- Topics: hashnode, javascript, nextjs, planetscale, prisma, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://ponsor.vercel.app
- Size: 148 KB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Ponsor
getting sponsored made easy through widgets
### Tech Stack
A lot of different tech and soft wares were used to create Ponsor, here is a list of the tech I used -
- [Next.js](https://nextjs.org) - Framework
- [PlanetScale](https://planetscale.com) - Database
- [Tailwind CSS](https://tailwindcss.com) - Styling
- [VS Code](https://code.visualstudio.com/) - Code Editor
- [Next Auth](https://next-auth.js.org/) - Auth
- [GitHub](https://github.com) - Code Base
- [Prisma](https://prisma.io) - ORM
- [Vercel](https://vercel.app) - Host
- [Nprogress](https://ricostacruz.com/nprogress/) - Progress Bars
- [React Hot Toast](https://react-hot-toast.com/) - Toast Notifications
- [React Icons / Feather Icons](https://react-icons.github.io/react-icons/icons?name=fi) - Icons
- [Favmoji](https://github.com/asrvd/favmoji) - Favicon as a service
### Run Locally
- Clone the repository
```bash
git clone https://github.com/asrvd/ponsor.git
```
- Install dependencies
```bash
cd ponsor
pnpm i # or npm i
```
- Create a `.env` file and put these env variables in it
```env
DATABASE_URL=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
NEXTAUTH_SECRET=
NEXT_PUBLIC_CLOUDINARY_PRESET=
NEXT_PUBLIC_CLOUDINARY_NAME=
NEXTAUTH_URL=
```
- Fire up prisma
```bash
pnpm dlx prisma db push # or npx prisma db push
```
- Run the app
```bash
pnpm run dev # or npm run dev
```
### License
[MIT License](LICENSE)
### Contributing
- Fork the repository
- Create a new branch
- Make your changes
- Commit your changes
- Push your changes to the main branch
- Open a pull request
### Ending Note
- This project was made for the [hashnode](https://hashnode.com) x [planetscale](https://planetscale.com) hackathon.
- If you have any questions, suggestions or bug reports please open an issue.
- Leave a star if you like the project.
- If you like this project, please consider [supporting](https://www.buymeacoffee.com/asheeshh) me.