Giter Site home page Giter Site logo

medusa-test's Introduction

Nat Store - A Medusa test

A simple storefront integrated using medusa-react


How to use it

Clone the repository then run into your terminal

yarn install && yarn dev

You should have the medusa server running into your computer and have set the STORE_CORS="http://localhost:3000"


Answers

Time spent:

Something around 5/6 hours

Most challenging:

The implementation of the variant selector, which is not completely done yet, I am figuring out how to get the selected variant id between 2 or more options.

Most Proud:

I would start saying the documentation of medusa-react could be improved to help people who have never built something using the API to get speed quickly, with that said, I am proud of being able to build the store regardless the dificult to get the documentation - In that case, I was looking for the functions navigating through node_modules directory.

About the structure:

I kept the Next.JS starter structure and I can say that I have some regrets related to that. I think that the "components" folder by itself is too ambiguos when it helps to maintain the code. so, I would have created another structure, with modules, to have components by pages/general/etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.