{"id":25009808,"url":"https://github.com/tapader13/uspace","last_synced_at":"2025-12-30T21:49:26.227Z","repository":{"id":259117929,"uuid":"876351084","full_name":"tapader13/USpace","owner":"tapader13","description":"Uspace is a space booking platform built with Next.js and React.js, allowing users to search, book, and manage spaces. It features secure Stripe payments, social login, and media storage via Cloudinary, with a backend powered by MongoDB and Prisma.","archived":false,"fork":false,"pushed_at":"2025-02-23T11:51:54.000Z","size":5950,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T12:27:30.203Z","etag":null,"topics":["axios","bycrypt","cloudinary","mailtrap","mongoose","motion","nextjs14","react-datepicker","react-hook-form","react-icons","react-quill","stripe","zod","zod-validation","zustand"],"latest_commit_sha":null,"homepage":"https://space-booking-psi.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tapader13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-21T20:24:05.000Z","updated_at":"2025-02-23T11:51:57.000Z","dependencies_parsed_at":"2025-02-23T12:33:56.632Z","dependency_job_id":null,"html_url":"https://github.com/tapader13/USpace","commit_stats":null,"previous_names":["tapader13/space_booking","tapader13/uspace"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapader13%2FUSpace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapader13%2FUSpace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapader13%2FUSpace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapader13%2FUSpace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tapader13","download_url":"https://codeload.github.com/tapader13/USpace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246268457,"owners_count":20750117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","bycrypt","cloudinary","mailtrap","mongoose","motion","nextjs14","react-datepicker","react-hook-form","react-icons","react-quill","stripe","zod","zod-validation","zustand"],"created_at":"2025-02-05T04:51:58.329Z","updated_at":"2025-12-30T21:49:26.200Z","avatar_url":"https://github.com/tapader13.png","language":"TypeScript","readme":"# 🏠 Uspace - Space Booking Platform\n\n## Overview\n\n**Uspace** is a modern space booking platform where users can browse, search, and rent spaces seamlessly. From category-based searches to secure Stripe payments, Uspace provides a smooth experience for both users and space owners.\n\n---\n\n## 📸 Screenshot\n\n![Uspace Screenshot](https://i.postimg.cc/2jGrrsmx/Screenshot-2025-02-10-002809.png)\n\n---\n\n## 🛠️ Technologies Used\n\n### **Frontend \u0026 Backend**\n\n- Next.js 14\n- React.js 18\n- Tailwind CSS\n- Framer Motion (for animations)\n\n### **State Management**\n\n- Zustand (lightweight global state management)\n\n### **Authentication**\n\n- NextAuth.js with @auth/prisma-adapter\n- Social login support\n\n### **Database \u0026 ORM**\n\n- MongoDB with Mongoose\n- Prisma ORM\n\n### **File \u0026 Media Storage**\n\n- Cloudinary (for images \u0026 videos)\n\n### **Payment Integration**\n\n- Stripe with webhooks\n\n### **Others**\n\n- Mailtrap (for email confirmations)\n- Radix UI components\n\n---\n\n## 🚀 Core Features\n\n✔️ **Space Booking \u0026 Management**\n\n- Browse spaces based on categories (e.g., offices, warehouses, studios).\n- Search for spaces by name.\n- Filter results by price, category, or name.\n- View detailed space pages with images, videos, and descriptions.\n\n✔️ **Seamless Booking Process**\n\n- Choose start and end dates for rental.\n- Add selected spaces to the cart before checkout.\n- Secure Stripe payments with webhook integration.\n\n✔️ **Authentication \u0026 User Management**\n\n- Social login for easy access.\n- Users can add new spaces, upload images \u0026 videos via Cloudinary.\n- After login, users can manage their bookings and spaces.\n\n✔️ **Order Confirmation \u0026 Email Notifications**\n\n- Upon successful payment, users receive a confirmation email.\n- View past orders with payment status.\n\n---\n\n## 📦 Dependencies\n\n### **Production Dependencies**\n\n```json\n{\n  \"@auth/prisma-adapter\": \"^2.7.0\",\n  \"@hookform/resolvers\": \"^3.9.0\",\n  \"@prisma/client\": \"^5.20.0\",\n  \"@radix-ui/react-dialog\": \"^1.1.2\",\n  \"@radix-ui/react-icons\": \"^1.3.0\",\n  \"@radix-ui/react-label\": \"^2.1.0\",\n  \"@radix-ui/react-navigation-menu\": \"^1.2.1\",\n  \"@radix-ui/react-select\": \"^2.1.2\",\n  \"@radix-ui/react-slider\": \"^1.2.1\",\n  \"@radix-ui/react-slot\": \"^1.1.0\",\n  \"@radix-ui/react-toast\": \"^1.2.2\",\n  \"@stripe/stripe-js\": \"^4.8.0\",\n  \"axios\": \"^1.7.7\",\n  \"bcrypt\": \"^5.1.1\",\n  \"class-variance-authority\": \"^0.7.0\",\n  \"cloudinary\": \"^2.5.1\",\n  \"clsx\": \"^2.1.1\",\n  \"formidable\": \"^3.5.1\",\n  \"framer-motion\": \"^11.11.8\",\n  \"lucide-react\": \"^0.452.0\",\n  \"mailtrap\": \"^3.4.0\",\n  \"mongodb\": \"^6.9.0\",\n  \"mongoose\": \"^8.7.2\",\n  \"next\": \"14.2.15\",\n  \"next-auth\": \"^5.0.0-beta.22\",\n  \"react\": \"^18\",\n  \"react-confetti\": \"^6.1.0\",\n  \"react-datepicker\": \"^7.5.0\",\n  \"react-dom\": \"^18\",\n  \"react-hook-form\": \"^7.53.0\",\n  \"react-icons\": \"^5.3.0\",\n  \"stripe\": \"^17.2.1\",\n  \"tailwind-merge\": \"^2.5.3\",\n  \"tailwindcss-animate\": \"^1.0.7\",\n  \"zod\": \"^3.23.8\",\n  \"zustand\": \"^5.0.0-rc.2\"\n}\n```\n\n---\n\n## 🛠️ Getting Started (Run Locally)\n\n### 1️⃣ Clone the Repository\n\n```sh\ngit clone https://github.com/tapader13/USpace.git\ncd USpace\n```\n\n### 2️⃣ Install Dependencies\n\n```sh\nnpm install\n```\n\n### 3️⃣ Set Up Environment Variables\n\nCreate a `.env` file in the root directory and add the following:\n\n```env\nNEXT_PUBLIC_STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret\nNEXT_PUBLIC_URl=https://space-booking-psi.vercel.app/\nDATABASE_URL=your_mongodb_connection_string\nAUTH_GOOGLE_ID=your_google_auth_client_id\nAUTH_GOOGLE_SECRET=your_google_auth_secret\nNEXT_PUBLIC_SECRET=your_secret_key\nCLOUDINARY_API_SECRET=your_cloudinary_api_secret\nCLOUDINARY_API_KEY=your_cloudinary_api_key\nCLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name\nNEXT_PUBLIC_STRIPE_PUBLISABLE_KEY=your_stripe_public_key\nNEXT_PUBLIC_STRIPE_SECRET_KEY=your_stripe_secret_key\nNEXT_PUBLIC_MAIL_TOKEN=your_mailtrap_token\n```\n\n### 4️⃣ Run Migrations (For Prisma)\n\n```sh\nnpx prisma migrate dev --name init\n```\n\n### 5️⃣ Start the Development Server\n\n```sh\nnpm run dev\n```\n\n### 6️⃣ Open in Browser\n\nVisit **[https://space-booking-psi.vercel.app](https://space-booking-psi.vercel.app)** to see the app in action.\n\n---\n\n## 🔗 Live Demo \u0026 Resources\n\n🚀 **Live Project:** [Uspace Live](https://space-booking-psi.vercel.app/)\n\n---\n\n## 🤝 Contributing\n\nContributions are always welcome!\n\n1. Fork the repository\n2. Create a new branch (`git checkout -b feature-name`)\n3. Commit your changes (`git commit -m 'Add new feature'`)\n4. Push to the branch (`git push origin feature-name`)\n5. Open a Pull Request\n\n---\n\n⭐ **Like this project?** Give it a star on GitHub!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapader13%2Fuspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftapader13%2Fuspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapader13%2Fuspace/lists"}