RealDyllon / react-supermarket-tracker

Check Supermarket Delivery Avaliablity in your area:
https://supermarkets.dyllon.dev/
3 stars 1 forks source link
create-react-app nodejs react reactjs serverless sg singapore

react-supermarket-tracker

Visit the site at: https://supermarkets.dyllon.dev

I built 3 nodejs serverless (AWS lambda) functions for some of the APIs to circumvent cors:

Sheng Shiong: https://gist.github.com/RealDyllon/0240ba0d1ba0fbebf23efe61746623ad

Cold Storage: https://gist.github.com/RealDyllon/f2861c054e59095d0bb7a6d950217c67

Giant: https://gist.github.com/RealDyllon/2a412971d7ae7f625a84752d050c4232

Fairprice doesn't add cors headers to their responses, so we don't need to use a proxy api server.

PRs Are welcome!


create-react-app help:

Available Scripts

In the project directory, you can run:

yarn start

yarn test

yarn build

yarn eject

Note: this is a one-way operation. Once you eject, you can’t go back!

3 Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify