Skip to content

studiojms/medusa-gamestore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published