This project is to practice connecting Back-end to Front-end
- Step 1: cd to
client
- Step 2: yarn
- Step 3: yarn start
- Step 1: cd to
api
- Step 2: yarn
- Step 3: yarn start
Remember to run both front-end and back-end at the same time
Design the website with product and user. What kind of product, for example: electronics, clothes or pet supplies
- Create the product list in the
data
folder. Minimum 5 products and maximum 10 products. - Create the user list in the
data
folder. Minimum 3 products and maximum 5 products. - Create a server in the
index.ts
- Create a method to get all the products
- Create a method for user to log-in
- Create a method to display user information
- Display the product list in the
ProductList
component - Form validation when the user log in
- Make the project with at least these pages:
NavBar
,Footer
,Home
andProduct
- Styling: could take the idea from the website:
https://www2.hm.com/