Skip to content

carpad88/medusa-server-wishlist

Repository files navigation

Medusa

Medusa Starter with Wishlist

This repo provides the skeleton to get you started with using Medusa. Follow the steps below to get ready.

Medusa is released under the MIT license. PRs welcome! Discord Chat Follow @medusajs

Prerequisites

This starter has minimal prerequisites and most of these will usually already be installed on your computer.

Quick start

  1. Clone this repository
  git clone [email protected]:carpad88/medusa-server-wishlist.git medusa-wishlist
  1. Install dependencies
  cd medusa-wishlist
  yarn
  1. Link to your database

To be able to run migrations you need to use a Postgres database.

Update the medusa-config.js with your postgres database URL

const DATABASE_URL = process.env.DATABASE_URL || "<link to your postgres database>";
  1. Build and run migrations

Run the next commands to build and run your migrations

yarn run build && medusa migrations run 
  1. Seed your store

To seed your medusa store run the following command:

medusa seed -f ./data/seed.json

This command seeds your database with some sample data to get you started, including a store, an administrator account, a region and a product with variants. What the data looks like precisely you can see in the ./data/seed.json file.

  1. Start development

You should now be able to start developing your site.

yarn start
  1. Open the source code and start editing!

    Your server is now running at http://localhost:9000!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published