Giter Club home page Giter Club logo

synapse-hub's Introduction


Project Banner
Next.js TypeScript Payload_CMS stripe

Synapse Hub - A Full Stack Ecommerce App with Payload CMS

  1. Introduction
  2. Tech Stack
  3. Features
  4. Quick Start
  5. Usage

homepage

categories

deals

footer

Welcome to Synapse Hub, an e-commerce application along with a user-friendly admin interface powered by Payload CMS, where you can easily add, edit, and remove products, keeping your inventory up-to-date effortlessly. Track orders and manage their status through the intuitive dashboard, ensuring smooth operations. User authentication allows customers to create accounts, log in, and manage their profile information securely. The shopping cart feature enables seamless shopping experiences, while Stripe integration ensures secure payment processing. Designed with a responsive layout, our app delivers a consistent and enjoyable shopping experience across all devices.

  • Node.js
  • Next.js
  • TypeScript
  • TailwindCSS
  • Stripe
  • Payload CMS
  • React Hook Form
  • Effortless Product Management: Easily add, edit, and remove products using the intuitive Payload CMS admin interface. Update product details, images, and availability with just a few clicks.

admin

add_product
  • Streamlined Order Management: Efficiently manage orders and track their status through the admin dashboard. Keep customers informed about their order progress from purchase to delivery.

admin_orders
  • Robust User Authentication: Enable users to create accounts, log in securely, and manage their profile information. Ensure a personalized shopping experience and easy order tracking for registered users.

signup

login

forgotpw

profile

purchases

orders
  • Seamless Shopping Cart Experience: Allow users to add products to their cart and seamlessly proceed to checkout. Enhance user satisfaction with a smooth and hassle-free shopping experience.

products

filter

product_details

cart
  • Secure Payment Processing: Ensure secure payment processing using the integrated Stripe payment gateway. Provide users with a safe and reliable payment experience for their purchases.

checkout
  • Responsive Design for All Devices: Deliver a consistent user experience across all devices with a responsive design. Whether users access your store on desktop or mobile, they'll enjoy a seamless browsing and shopping experience.

  • Customizable and Scalable: Tailor the app to meet your specific business needs and scale it as your business grows. Add new features, integrate third-party services, and adapt the app to evolving market trends.

  • Optimized for Performance: Built with performance in mind, the app delivers fast loading times and smooth navigation. Provide users with a snappy and responsive interface that keeps them engaged.

  • SEO Friendly: Boost your store's visibility and reach with SEO-friendly features. Optimize product descriptions, meta tags, and URLs to rank higher in search engine results and attract more organic traffic.

  • Dedicated Support and Updates: Receive dedicated support and regular updates to ensure your store stays secure, up-to-date, and optimized for performance. Get help when you need it and stay ahead of the competition with the latest features and improvements.

  1. Clone the repository:

    git clone https://github.com/Anirudh-2903/synapse-hub.git
    cd synapse-hub
  2. Install dependencies:

    yarn install --save
  3. Set up environment variables:

    Create a .env file in the root directory and add the following:

    # Run on a specific port
     PORT=3000
    
     # Database connection string
     DATABASE_URI=your_mongodb_uri
    
     # Used to encrypt JWT tokens
     PAYLOAD_SECRET=ad_custom_secret
    
     # Used to format links and URLs
     PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
     NEXT_PUBLIC_SERVER_URL=http://localhost:3000
    
     # Enable Stripe integration
     STRIPE_SECRET_KEY=your_stripe_key
     PAYLOAD_PUBLIC_STRIPE_IS_TEST_KEY=true
     NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_key
    
    
     # Used to preview drafts
     PAYLOAD_PUBLIC_DRAFT_SECRET=demo-draft-secret
     NEXT_PRIVATE_DRAFT_SECRET=demo-draft-secret
    
     # Used to revalidate static pages
     REVALIDATION_KEY=demo-revalation-key
     NEXT_PRIVATE_REVALIDATION_KEY=demo-revalation-key

    Replace the placeholder values with your actual credentials

  4. Start the development server:

    yarn run dev
  5. Open http://localhost:3000 to view the app in your browser.

  1. Access the Payload CMS admin interface:

    Open http://localhost:3000/admin in your browser and log in using the default credentials (username: admin, password: password).

  2. Add products:

    Navigate to the "Products" section in the admin interface and click on "Add Product" to add new products to the store.

  3. Manage orders:

    View and manage orders in the "Orders" section of the admin interface.

  4. User Authentication:

    Registration: Users can create an account by providing their email address and password.

    Login: Registered users can log in using their email address and password.

    Profile Management: Users can manage their profile information, including updating their email address and password.

  5. Payment Processing with Stripe:

    Secure Payments: Payments are processed securely using Stripe's payment gateway.

    Card Payments: Customers can pay using their credit or debit card information.

  6. Making Mock Payments:

    Use the following card for any mock payments:

    4000 0035 6000 0008

    For Expiry Date : Give a future date

    For CVV : Give a random 3-digit number


synapse-hub's People

Contributors

anirudh-2903 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.