It is my react portfolio website built with CSS animation and sanity which is optimized on various devices sizes.
React.js Sanity SCSS Netlify
Create an account in Sanity and follow the displayed commands!
- Create a folder named **backend_sanity".
cd backend_sanity
- Install the sanity client
npm install -g @sanity/cli
- Login using your preferred way!
- Enter the project name, press Y and use the default settings.
- Now use the command
sanity start
- Now run the following in the terminal
sanity manage
- Your project dashboard page pops up in your browser
These are the most important steps
- Note your project ID for future reference
- Click on Token -> Add new Token
- Give it a name and copy the token as it can be viewed only once.
- Now add your react browser address i.e. your localhost in CORS ORIGIN
- You are mostly done with setting up the backend.
- After completing the prerequistes, go ahead with the following steps.
- Clone the repo
git clone
- Install NPM packages in the folders Frontend React.
Make sure you are in the right folder path in the terminal.
npm install
- Replace the Backend Sanity file contents with your sanity file contents (entire folder).
- Run the command and a page with your sanity documents appears.
Make sure you are in the right folder path in the terminal.
sanity start
- Add your details to the necessary documents, refer Sanity for better understanding.
- Add your Project_id and Token in ./src/client.js
- Run the final command in the Frontend React.
Make sure you are in the right folder path in the terminal.
npm start
- Your website is up and running. Make the necessary changes and deploy it.
- To add or change necessary documents in Sanity Studio refer the Sanity Docs, it is very intuitive and easy.
Refer to: https://www.youtube.com/watch?v=3HNyXCPDQ7Q
JavaScript Mastery Praveen Dunga