Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weakky/prisma-ecommerce
💰A graphql e-commerce real-world fullstack example (backoffice included)
https://github.com/weakky/prisma-ecommerce
backoffice boilerplate ecommerce fullstack graphql prisma react react-native shop
Last synced: 13 days ago
JSON representation
💰A graphql e-commerce real-world fullstack example (backoffice included)
- Host: GitHub
- URL: https://github.com/weakky/prisma-ecommerce
- Owner: Weakky
- Created: 2018-05-13T12:45:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-14T14:50:02.000Z (about 6 years ago)
- Last Synced: 2024-10-28T16:11:58.441Z (16 days ago)
- Topics: backoffice, boilerplate, ecommerce, fullstack, graphql, prisma, react, react-native, shop
- Language: TypeScript
- Homepage:
- Size: 1.42 MB
- Stars: 276
- Watchers: 12
- Forks: 57
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prisma-ecommerce
A prisma e-commerce real-world fullstack example 🚀
Homepage view | Browsing product view | Cart view | Payment view
:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:
![](https://image.ibb.co/mzo0wJ/Simulator_Screen_Shot_i_Phone_6_2018_05_13_at_15_26_52.png) | ![](https://image.ibb.co/hGoNAd/Simulator_Screen_Shot_i_Phone_6_2018_05_13_at_15_26_45.png) | ![](https://image.ibb.co/cu4CAd/Simulator_Screen_Shot_i_Phone_6_2018_05_13_at_15_31_16.png) | ![](https://image.ibb.co/gsN4ao/Simulator_Screen_Shot_i_Phone_6_2018_05_22_at_22_25_13.png)### 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](https://www.prisma.io/forum/t/prisma-with-react-admin-build-a-working-backoffice-in-a-few-hours/4400)**
# Features
💁 **Beautiful, easily customizable react-native app**
💨 **GraphQL backend powered by [Prisma.io](https://www.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
![](https://image.ibb.co/kGBW3y/Capture_d_e_cran_2018_05_13_a_15_20_59.png)
### 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.jsconst httpLink = new HttpLink({
uri: YOUR_LOCAL_IP,
});
```