Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sanidhyy/portfolio-react

Modern Portfolio App using React JS, SASS and Sanity
https://github.com/sanidhyy/portfolio-react

cms cms-backend css html javascript js modern portfolio portfolio-website react reactjs saas sanity sanity-io sanity-studio sass scss ui ux

Last synced: about 10 hours ago
JSON representation

Modern Portfolio App using React JS, SASS and Sanity

Awesome Lists containing this project

README

        

# Modern Portfolio App using React JS

![Modern Portfolio App using React JS](https://user-images.githubusercontent.com/71302066/193459784-c7f4196f-ab29-4d73-b527-8f4da617b4ba.png "Modern Portfolio App using React JS")

[![Ask Me Anything!](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](https://github.com/Technical-Shubham-tech "Ask Me Anything!")
[![GitHub license](https://img.shields.io/github/license/Technical-Shubham-tech/portfolio-react)](https://github.com/Technical-Shubham-tech/portfolio-react/blob/main/LICENSE.md "GitHub license")
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/Technical-Shubham-tech/portfolio-react/commits/main "Maintenance")
[![GitHub branches](https://badgen.net/github/branches/Technical-Shubham-tech/portfolio-react)](https://github.com/Technical-Shubham-tech/portfolio-react/branches "GitHub branches")
[![Github commits](https://badgen.net/github/commits/Technical-Shubham-tech/portfolio-react/main)](https://github.com/Technical-Shubham-tech/portfolio-react/commits "Github commits")
[![Netlify Status](https://api.netlify.com/api/v1/badges/fc10f6fd-91c9-4342-8473-369377fc60e9/deploy-status)](https://portfolio-modern.netlify.app/ "Netlify Status")
[![GitHub issues](https://img.shields.io/github/issues/Technical-Shubham-tech/portfolio-react)](https://github.com/Technical-Shubham-tech/portfolio-react/issues "GitHub issues")
[![GitHub pull requests](https://img.shields.io/github/issues-pr/Technical-Shubham-tech/portfolio-react)](https://github.com/Technical-Shubham-tech/portfolio-react/pulls "GitHub pull requests")

## ⚠️ Before you start

1. Make sure **Git** and **NodeJS** is installed
2. Clone this repository to your local computer.
3. Create .env file in root folder.
4. Contents of **.env**:

```
REACT_APP_SANITY_PROJECT_ID=XXXXXXXXXXXXXXXX
REACT_APP_SANITY_DATASET=XXXXXXXXXXXXXXXX
REACT_APP_SANITY_TOKEN=XXXXXXXXXXXXXXXX
```

5. Open terminal in root directory. Run `npm install` or `yarn install`.
6. Now, `cd backend-sanity`. Run `npm install` or `yarn install` again.
7. Now all required packages are installed, let's setup sanity.
8. Create an account in [sanity](https://www.sanity.io/ "Sanity").
9. In terminal, type `sanity init` to initialize our sanity project.
10. Type `sanity start` to start sanity studio on localhost. URL will be shown in terminal.
11. After going to localhost, login in with your account. Now, your account is connected with this project.
12. To get REACT_APP_SANITY_PROJECT_ID and REACT_APP_SANITY_TOKEN, go to [sanity](https://www.sanity.io/ "Sanity").
13. Copy your project id as shown below:

![Copy your Project ID](https://user-images.githubusercontent.com/71302066/193460393-5aa9b52a-4ba9-4d4e-92cd-ec6fd422454f.png "Copy your Project ID")

14. Under API Tab, go to tokens section and create a token. You can name it whatever you want. Just Don't forget to copy your project token. You will not be able to copy later.

![Copy your Project Token](https://user-images.githubusercontent.com/71302066/193460607-5c464f6e-b664-4fac-86db-d2ec1312bec4.jpg "Copy your Project Token")

15. Now, you add your portfolio details to your project through sanity localhost.

![Add your Portfolio Details](https://user-images.githubusercontent.com/71302066/193460855-edefd76c-9b70-4ea5-8f4f-b6e524209d5e.png "Add your Portfolio Details")

16. Now app is fully configured :+1: and you can start using this app using `npm start` or `yarn start`.

**NOTE:** Make sure you don't share these keys publicaly.

## :camera: Screenshots:

![Modern UI/UX](https://user-images.githubusercontent.com/71302066/193461403-78875688-42a5-4554-a727-7a60ba8aef08.png "Modern UI/UX")

![Showcase your projects](https://user-images.githubusercontent.com/71302066/193461445-1889f6ce-9990-426a-bfe8-7d89c2601fde.png "Showcase your projects")

![Showcase your skills](https://user-images.githubusercontent.com/71302066/193461487-923ff121-821b-4eb9-b829-f4a12bdcb176.png "Showcase your skills")

![Functional Contact form](https://user-images.githubusercontent.com/71302066/193461534-87baaa0f-4518-4bac-b327-53829e8d6f57.png "Functional Contact form")

## :gear: Built with

[](https://www.javascript.com/ "JavaScript")

[](https://reactjs.org/ "React JS")

[](https://sass-lang.com/ "SASS")

[Built with Love](https://github.com/Technical-Shubham-tech/ "Built with Love")

## :wrench: Stats

![Stats for this App](https://user-images.githubusercontent.com/71302066/193461860-9afc32a9-4a79-4cc2-bf24-017ecc2acfb9.svg "Stats for this App")

## :raised_hands: Contribute

You might encounter some bugs while using this app. You are more than welcome to contribute. Just submit changes via pull request and I will review them before merging. Make sure you follow community guidelines.

## Buy Me a Coffee 🍺

[](https://www.buymeacoffee.com/sanidhy "Buy me a Coffee")

## :rocket: Follow Me

[![GitHub followers](https://img.shields.io/github/followers/Technical-Shubham-tech?style=social&label=Follow&maxAge=2592000)](https://github.com/Technical-Shubham-tech "Follow Me")
[![Twitter](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Ftwitter.com%2FTechnicalShubam)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FTechnical-Shubham-tech%2Fmedical-chat-app "Tweet")
[![YouTube](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/channel/UCNAz_hUVBG2ZUN8TVm0bmYw "Subscribe my Channel")

## :star: Give A Star

You can also give this repository a star to show more people and they can use this repository.

## :books: Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

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](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## :page_with_curl: Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `yarn build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)