6

Github GitHub - vivek9patel/vivek9patel.github.io: Personal portfolio website of...

 3 years ago
source link: https://github.com/vivek9patel/vivek9patel.github.io
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

To run this on localhost

  • Make .env file in root folder

Get API keys from emailjs

  • Get your apis from emailjs. follow this docs
  • inside that file you need to declare your api keys for emailjs, below is the sample code
  • your api keys will be here: page

Get Tracking ID from google analytics

  • follow this docs to get your Tracking ID
  • add your keys to .env file just like below given template.

REACT_APP_TRACKING_ID = "GOOGLE_ANALYTICS_TRACKING_ID"
REACT_APP_USER_ID = 'YOUR_USER_ID'
REACT_APP_TEMPLATE_ID = 'YOUR_TEMPLATE_ID'
REACT_APP_SERVICE_ID = 'YOUR_SERVICE_ID'

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run 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 for more information.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributiors who wants to make this website better can make contribution,which will be greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Added some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK