Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tuhin-ahmed-45/sanity-amazona


https://github.com/tuhin-ahmed-45/sanity-amazona

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Sanity Amazona

## Lessons

1. Introduction
1. What you will learn
2. What you will build
3. What Packages you will use
2. Install Tools
1. VS Code
2. Chrome
3. Git
4. Node.js
3. Create Next App
1. npx create-next-app
2. add @mui library
4. Publish to github
1. create githb account
2. push to github from vs code
5. Create Website Layout
1. Add header
2. Add main
3. Add footer
6. Connect to Sanity.io
1. install sanity
2. initialize sanity
3. create product model
4. nsert sample data to product model
7. List Products
1. add localhost:3000 to the CORS origins in sanity
2. fetch products from sanity
3. render them in the screen
8. Create Product Details Screen
1. add [slug].js to product folder
2. create component
3. get slug from the url
4. fetch product from sanity client
5. render product image, info
6. show add to cart button
9. Create React Context
1. define Context, Store and reducer
2. set darkMode flag
3. use it on layout