https://github.com/marktawa/medusa-stackbit-app
Build an ecommerce site using Next.js, Medusa, and Stackbit
https://github.com/marktawa/medusa-stackbit-app
ecommerce medusajs nextjs stackbit
Last synced: 3 months ago
JSON representation
Build an ecommerce site using Next.js, Medusa, and Stackbit
- Host: GitHub
- URL: https://github.com/marktawa/medusa-stackbit-app
- Owner: Marktawa
- License: mit
- Created: 2023-02-15T17:38:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-29T10:17:26.000Z (almost 2 years ago)
- Last Synced: 2024-12-29T12:37:05.990Z (about 1 year ago)
- Topics: ecommerce, medusajs, nextjs, stackbit
- Language: JavaScript
- Homepage: https://dev.to/markmunyaka/how-to-build-an-ecommerce-site-using-medusa-nextjs-and-stackbit-1klb
- Size: 7.36 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to Build an ecommerce site using Medusa, Next.js and Stackbit
This repository serves as a code container for the tutorial with the above title.
[**TUTORIAL LINK**](https://dev.to/markmunyaka/how-to-build-an-ecommerce-site-using-medusa-nextjs-and-stackbit-1klb)
## App Demo

## Prerequisites
- Node v14.x.x up to Node v18.x.x (LTS)
- Git
## Getting Started
- Clone the repo
```bash
git clone https://github.com/Marktawa/medusa-stackbit-app.git
```
- Change directory
```bash
cd medusa-stackbit-app
```
## Medusa Setup
- Install the Medusa CLI
```bash
npm install -g @medusajs/medusa
```
- Change directory to `medusa-store`.
```bash
cd medusa-store
```
- Install dependencies
```bash
npm install
```
- Run the Medusa server
```bash
medusa develop
```
> Your local Medusa Server will run on port **9000**
## Next.js Setup
- Change directory to `my-stackbit-site` directory
```bash
cd my-stackbit-site
```
- Install dependencies
```bash
npm install
```
- Run the Next.js development server
```bash
npm run dev
```
> Your local Next.js dev server will run on port **3000**
## stackbit Setup
- Install Stackbit CLI
```bash
npm install -g @stackbit/cli
```
- Run Stackbit development server
```bash
cd my-stackbit-site
stackbit dev
```
> Your local Stackbit dev server will run on port **8090**
---
> For detailed instructions, [read the blog](https://dev.to).
## Authors
- [Mark Tawanda Munyaka](https://github.com/Marktawa)
## Extra
- You are welcome to make [issues and feature requests](https://github.com/Marktawa/medusa-stackbit-app/issues).