Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shubham-121/pizza-website
A pizza website using React, Redux, React Router, Tailwinds CSS, Supabase
https://github.com/shubham-121/pizza-website
react-router reactjs redux-toolkit supabase tailwindcss
Last synced: 15 days ago
JSON representation
A pizza website using React, Redux, React Router, Tailwinds CSS, Supabase
- Host: GitHub
- URL: https://github.com/shubham-121/pizza-website
- Owner: shubham-121
- Created: 2024-11-28T13:04:25.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-12-18T11:06:36.000Z (2 months ago)
- Last Synced: 2024-12-18T12:23:44.073Z (2 months ago)
- Topics: react-router, reactjs, redux-toolkit, supabase, tailwindcss
- Language: JavaScript
- Homepage:
- Size: 5.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
How to setups a mock api?
1-install the json-server : npm i -g json-server
2-create a db.json file : put the api data inside it
3- run json server using command: json-server --watch db.json --port 4000everytime you use the mock api, you need to manually run the server also
fetch pizza data from this: ("http://localhost:4000/pizza-data")
fetch users data from this: ("http://localhost:4000/users")
fetch orders data from this: ("http://localhost:4000/orders")