React app developed as part of a Full Stack challenge from IT Crowd
- NodeJS with express
- Multer for image upload
- MySQL DB
- Bcrypt for hashing password
- Passport-JWT for authentication strategy
- Sequelize
- React (Vite)
- Tailwind CSS
- Axios for HTTP request
- React router for routing
- Framer Motion for animations
-
Clone repo
-
Navigate to server folder and run npm run dev
-
Backend is hosted on https://itcrowdapi.onrender.com but you can use localhost://3000 locally
-
DB was hosted on Clevercloud
-
Sequelize was used as ORM
-
Clone repo
-
Navigate to client and run npm run dev
-
Frontend is hosted on https://itcrowdcommerce.vercel.app
4.React-router-dom was used as navigation and Axios as library for making http requests
Find all products.
Find product by ID.
Need auth Create a product.
{
"name": "string",
"description": "string",
"img_Url": "string",
"price":"number",
}
Need auth Update a product by ID.
{
"name": "string",
"description": "string",
"image_url": "string",
"price":"number",
}
Send through form/data with key file and Type file.
Delete a product by ID.
Delete all products.
Find all brands
Find brand by ID
Create a brand
{
"name": "string",
"logo_url": "string"
}
Update a brand by ID
{
"name": "string",
"logo_url": "string"
}
Delete a brand by ID
-Don't hesitate to contact me on Linkedin