buneeIsSlo / payup

A PayPal like web app built using the MERN stack.

Home Page:https://payup-hxd.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🔼 PayUp

A PayPal like web app built using the MERN stack.

screenshot

Try it here 👉 https://payup-hxd.netlify.app/


🧰Tech used

  • 💻Frontend
    • React
    • React Router
    • TypeScript
    • Shadcn UI
    • TailwindCSS
  • 🗃 Backend
    • Express.js
    • Mongoose
    • Zod

🛠 Setup locally

Prerequisite: - pnpm

  1. Clone the project
git clone https://github.com/buneeIsSlo/payup
  1. Navigate to project directory
cd payup
  1. Navigate to backend directory and install the dependencies
cd backend
pnpm install
  1. Create a .env file with the following variables and add your credentials
touch .env
MONGO_URL="YOUR_MONGO_URL_HERE"
PORT=5001
FRONTEND_URL="http://localhost:5173"
JWT_SECRET="YOUR_SUPER_SECRET_CODE_HERE"
  1. Start the server
npm run server
  1. Seed the Database(optional)
  • Open a new terminal and make sure you're in the backend directory
npm run seed
  1. Navigate to frontend directory and install the dependencies
cd frontend
pnpm install
  1. Create a .env file with the following variables and add your credentials
touch .env
VITE_API_BASE_URL="YOUR_BACKEND_URL_HERE"
  1. Start the frontend
npm run dev

🧠Takeaways

This was my first time using libraries like mongoose, zod, react-router, and shadcn-ui. I've learned a lot while creating this project and, honestly a little difficult for me to unpack it all in a github readme. I'd love to write a blog about all my learnings sometime soon, and once I do, I'll be sure to post a link to it on here. Additionally, I want to thank @hkirat for his amazing 100xdevs cohort.


⭐ Leave a star maybe? ⭐

Source | Twitter | LinkedIn | Other Projects

About

A PayPal like web app built using the MERN stack.

https://payup-hxd.netlify.app/

License:MIT License


Languages

Language:TypeScript 74.2%Language:JavaScript 23.4%Language:CSS 1.9%Language:HTML 0.5%