This is the source code of my portfolio web page. I developed this site to host information about my career.
-
First create
.env
file in to project folder -
If you want to works project localy please write below the code on your
.env
fileVITE_DB=https://localhost:9000
-
You could change the data.js file and files under the public folder.
/src/data/data.json
/public/*.*
-
If you want to deploy your project please write below the code on your
.env
fileVITE_DB=[your json file link]
example of mine
VITE_DB=https://tuna-portfolio-json.vercel.app
-
I used JSON-server on vercel for deploying my JSON file. For deploying you could use typicode/JSON-server like me.
github.com/typicode/json-server -
I deployed my project on Vercel.
vercel.com
- React
- TanStack query (React Query)
- Tailwindcss
- Vite
- axios
- react-responsive
- react-detect-click-outside
- react-toggle-dark-mode
- json-server
MIT