https://github.com/twosaturdayscode/ummahtoys-remix
A simple e-commerce website made with Remix deployed on Cloudflare Pages, powered by WooCommerce
https://github.com/twosaturdayscode/ummahtoys-remix
Last synced: over 1 year ago
JSON representation
A simple e-commerce website made with Remix deployed on Cloudflare Pages, powered by WooCommerce
- Host: GitHub
- URL: https://github.com/twosaturdayscode/ummahtoys-remix
- Owner: twosaturdayscode
- Created: 2023-05-01T15:59:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T19:06:41.000Z (about 3 years ago)
- Last Synced: 2025-01-12T00:42:20.132Z (over 1 year ago)
- Language: TypeScript
- Size: 5.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Ummahtoys website!
This e-commerce website is made with Remix, powered by Woocommerce.
- [Remix Docs](https://remix.run/docs)
- [Woocommerce Docs](https://woocommerce.com/documentation)
## Development
Remember to:
- Set WordPress permalinks to something `Post name` at: Settings > Permalinks.
- Generate REST API keys: WooCommerce > Settings > Advanced > REST API.
## To be done:
- [ ] Create `WooCommerceProductSchema` zod schema to perform validation of the products coming from WooCommerce API and filter out incomplete products. Remember to check:
- [ ] At least one image in the images property
## Notes
- To fully develop locally I'm using [LocalWP](https://localwp.com) to get the HTTPS thing working you need to self-sign the SSL certificate. So far so good, but this causes an issue with the Fetch API (used by cloudflare pages) that throws when the server to be connected to is not _really_ secure (i.e. SSL is self-signed). A workaround is to set the env var `NODE_TLS_REJECT_UNAUTHORIZED` to 0