studiojms / medusa-gamestore

Gamestore project using Medusa.JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Medusa Game Store

Medusa Game Store

About

Participants

Github : @studiojms

Description

This is a game store storefront powered by Vite+React+Typescript+Tailwind CSS powered by MedusaJS

Preview

Demo

Set Up Project

In order to execute the project, follow the instructions below:

Prerequisites

Instal Project

Backend

  1. Go to the backend dir

    cd backend
  2. Install dependencies

    npm install

    or

    yarn
  3. Seed the database

    medusa seed -f data/seed.json
  4. Start the server

    medusa develop
Avoiding CORS errors

To avoid CORS errors when running locally, make sure to update your .env file, setting STORE_CORS variable correctly, as follows:

STORE_CORS=http://localhost:5173

Admin

  1. Go to the admin dir

    cd ../admin
  2. Install dependencies

    npm install

    or

    yarn
  3. Start the admin

    npm run start

    or

    yarn start
  4. In the browser, go to localhost:7000 and use the following credentials:

  • email admin@medusa-test.com
  • password supersecret

Frontend

  1. Go to the frontend dir

    cd ../frontend
  2. Install dependencies

    npm install

    or

    yarn
  3. Start the frontend

    npm run dev

    or

    yarn dev
  4. In the browser, go to localhost:5173

Resources

About

Gamestore project using Medusa.JS


Languages

Language:TypeScript 94.8%Language:JavaScript 4.5%Language:CSS 0.6%Language:HTML 0.0%Language:Shell 0.0%Language:Dockerfile 0.0%