This project is built to show product items based on the weight of each product.
to add product, go to admin page with root path 'http://localhost:3000/', but
you need to login before going to the admin page.
for login enter aco@gmail.com
for email input and 123
for password input;
you can add a product and the number of the products that exist. We assume all
the products are active
and are not expired although the query filters expired data.
there are already 3 product types that exist in the app, but you can add as much as you want.
the 'http://localhost:3000/shop/' is the page that's public and you can visit the products.
and also define how many items to be shown (not more than total products),
by default it shows all the items without any filter based on weight.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.