Code Monkey home page Code Monkey logo

zoas-store-client's Introduction

Zoas Store Client

Storybook code style: prettier JavaScript Style Guide License: MIT

A client for the Zoas Store API

This project use:

zoas-gif

Scripts

It required the environment variable API_URL, set it before running the project!

yarn install

Install the dependencies

yarn relay

Run the relay-compiler

yarn start

Run in development mode (localhost:8081)

Eg.: API_URL=http://localhost:3000 yarn start

yarn build

Build the application

Eg.: API_URL=http://localhost:3000 yarn build

yarn flow

Run the typechecker

yarn lint:fix

Check and fix the code conforms to linting rules (standard)

yarn prettier

Formats the code and run the linter

yarn storybook

Run storybook in development mode

yarn build-storybook

Build the storybook

yarn test

Run the tests

yarn test:watch

Run the tests in watch mode

Docker ๐Ÿณ

Building

docker-compose build

Running

docker-compose up

Client Running on: http://localhost:3001

Running the project

Required: run the Zoas Store API

  1. yarn install
  2. yarn relay
  3. API_URL=http://localhost:3000 yarn start

Check the correct API_URL (Zoas Store API URL)

with docker

  1. Before to run the project, you need run this Zoas Store API
  2. Check the correct API_URL (Zoas Store API URL) in docker-compose.yml
  3. Run docker-compose build
  4. Run docker-compose up
  5. Done! Test the application

License

The source code is licensed under MIT. License is available here

by @jeovazero

zoas-store-client's People

Contributors

jeovazero avatar

Stargazers

Roman avatar  avatar

Watchers

James Cloos avatar  avatar

zoas-store-client's Issues

Show details of a product

As John (a guy who want buy products of Zoas brand)

I want to see details of a single product

so that I can see detailed information about the product and decide If I buy It

A simple concept below:

Frame(1)

List products of store

As John (a guy which want buy products of Zoas brand)

I want to see a product's list of Zoas brand

so that I can see which products I can buy

A simple concept below:

Frame

Finishing for first release

  • Restructure the directories and files
  • Handle all API special errors
  • Rework the components (redesign)
  • Add missing loading indicator
  • Add missing error indicator
  • Improve webpack configuration
  • Improve Readme.md
  • Add docker to project

Put a product in the cart

As John (a guy who want buy products of Zoas brand)

I want to put a product in the cart

so that I can do the checkout of cart products in the future

Observation:

  • Must have a product quantity indicator in the cart icon
  • Must have the total price near at the cart icon

A simple concept below:

Frame(3)

Checkout of the cart

As John (a guy who want buy products of Zoas brand)

I want to do the checkout of products in the cart

so that put my address and credit card information to complete the purchase

Concepts below:

Frame(5)

Frame(6)

Frame(7)

Show and manage products in the Cart

As Jonh (a guy which want buy products of zoas brand)

I want to see and manage the products in my cart

so that I choose which products and your quantity I really will buy

A simple concept below:

Frame(4)

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.