Giter Club home page Giter Club logo

prisma-ecommerce's Introduction

prisma-ecommerce

A prisma e-commerce real-world fullstack example ๐Ÿš€

Homepage view Browsing product view Cart view Payment view

Project paused for a moment while I'm finishing https://github.com/Weakky/ra-data-prisma.

This will allow the backoffice to be far more robust, maintainable, and easier to develop.

Read more about it here

Features

๐Ÿ’ Beautiful, easily customizable react-native app

๐Ÿ’จ GraphQL backend powered by Prisma.io

๐Ÿฆ Support several shops behind the same application

๐Ÿ’ฅ Handcrafted backoffice to manage your e-commerce shop

๐Ÿ” Fully customizable products (variant system)

๐Ÿ’ซ Real-time updates for product availabilities

๐Ÿ’ธ Ready-to-sell Stripe integration (PCI compliant, including 3D Secure)

๐Ÿ”” Push notification system to keep users updated when their orders are prepared

โค๏ธ Made with love for the open-source community

The backoffice

Manage your products, your orders, your customers.

Philosophy

You'll quickly realize that there are no state-management library whatsoever. I'm actively militating against the wrong usage of those. Although a sweet Redux or MobX could have been used in some places (especially on the RN app), this app also acts as a showcase to promote vanilla React. Especially since the new Context API (Although I haven't updated React yet).

Troubleshooting

[Mobile][Android] Error: Network error: Network request failed.

Android is running in an emulator.

The localhost is pointing to the environment in which the code is running. The emulator emulates a real device while the simulator is only imitating the device.

Therefore the localhost on Android is pointing to the emulated Android device. And not to the machine on which your server is running.

The solution is to replace localhost with the local IP address of your machine.

mobile/src/graphql/setupApollo.js


const httpLink = new HttpLink({
  uri: YOUR_LOCAL_IP,
});

prisma-ecommerce's People

Contributors

weakky avatar dupk avatar

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.