Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/medusajs/b2b-starter-medusa
Official Medusa B2B Starter template. Features common B2B ecommerce requirements and can be easily adapted and extended.
https://github.com/medusajs/b2b-starter-medusa
b2b b2b-ecommerce ecommerce medusa medusajs nextjs nextjs-starter nextjs-template open-source opensource oss starter starter-kit starter-template template
Last synced: 3 days ago
JSON representation
Official Medusa B2B Starter template. Features common B2B ecommerce requirements and can be easily adapted and extended.
- Host: GitHub
- URL: https://github.com/medusajs/b2b-starter-medusa
- Owner: medusajs
- License: mit
- Created: 2024-09-17T09:06:02.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-10T15:47:30.000Z (12 days ago)
- Last Synced: 2025-01-11T23:09:09.633Z (10 days ago)
- Topics: b2b, b2b-ecommerce, ecommerce, medusa, medusajs, nextjs, nextjs-starter, nextjs-template, open-source, opensource, oss, starter, starter-kit, starter-template, template
- Language: TypeScript
- Homepage: https://dub.sh/medusa-b2b-starter
- Size: 27 MB
- Stars: 176
- Watchers: 15
- Forks: 67
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Medusa B2B Commerce Starter
Customizable B2B ecommerce built with Medusa 2.0 & Next.js Storefront
## Table
- [Prerequisites](#prerequisites)
- [Overview](#overview)
- [Features](#features)
- [Demo](#demo)
- [Quickstart](#quickstart)
- [Resources](#resources)
- [Contributors](#contributors)
## Prerequisites
⚠️ We have tested this repo with the below versions:
- ✅ Node 20
- ✅ Postgres 15
- ✅ Medusa 2.0
- ✅ Next.js 15
## Overview
#### Features
- **Company Management**. Customers can manage their company and invite employees.
- **Spending Limits**. Company admins can assign spending limits to its employees
- **Bulk add-to-cart**. Customers can add multiple variants of a product to their cart at once.
- **Quote Management**. Customers & Merchants can communicate, accept or reject quotes
- **Order Edit**. Merchants can edit orders or quotes - add/remove item, update quantity & price management and more.
- **Promotions**. Customers can apply manual and automatic promotions to their cart.
- **Free Shipping Nudge**. Displays a component showing progress toward free shipping.
- **Full ecommerce support**
- Product Pages
- Product Collections & Categories
- Cart & Checkout
- User Accounts
- Order Details
- **Full Next.js 15 support**
- App Router
- Caching
- Server components/actions
- Streaming
- Static Pre-Rendering
#### Demo
#### Quote Management
#### Company Management
#### Product Page
#### Cart Summary
## Quickstart
#### Setup Medusa project
```bash
# Clone the repository
git clone https://github.com/medusajs/b2b-starter-medusa.git## Setup Backend
# Go to the folder
cd ./backend# Clone .env.template
cp .env.template .env# Install dependencies
yarn install# Install dependencies, setup database & seed data
yarn install && yarn medusa db:create && yarn medusa db:migrate && yarn run seed && yarn medusa user -e [email protected] -p supersecret -i admin# Start Medusa project - backend & admin
yarn dev## Setup Storefront
# Go to folder
cd ../storefront# Clone .env.template
cp .env.template .env# Install dependencies
yarn install
```#### Setup publishable key
- ✅ Visit [Admin: Publishable Key](http://localhost:9000/app/settings/publishable-api-keys)
- Credentials:
- email: `[email protected]`
- password: `supersecret`
- ✅ Copy token key of "Webshop"
- ✅ Open file - `storefront/.env`
- ✅ Add token to this var - `NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY````
# Start Medusa storefront
yarn dev
```Visit the following links to see the Medusa storefront & admin
- [Medusa Admin](http://localhost:9000/app)
- [Medusa Storefront](http://localhost:8000)
# Resources
#### Learn more about Medusa
- [Website](https://www.medusajs.com/)
- [GitHub](https://github.com/medusajs)
- [2.0 Documentation](https://docs.medusajs.com/v2)#### Learn more about Next.js
- [Website](https://nextjs.org/)
- [GitHub](https://github.com/vercel/next.js)
- [Documentation](https://nextjs.org/docs)
## Contributors