Skip to content

My personal website πŸ’», a dynamic and responsive site designed to showcase my portfolio, blog, and professional journey. Built with React, this site leverages the power of modern web development frameworks to deliver a seamless user experience.

Notifications You must be signed in to change notification settings

ShiweiHe0713/my_website_react

Repository files navigation

react_vite_website

Description

  • This React application is built using Vite.
  • It uses Tailwind CSS
  • The application is generated in JavaScript.

Pre-requisites

  • git - v2.13 or greater
  • NodeJS - v16 or greater
  • npm - v6 or greater

Running in dev environment

  1. cd YOUR_APPLICATION
  2. npm install
  3. npm start

.env file

This file contains various environment variables that you can configure.

Folder Structure

.
β”œβ”€β”€ package.json
β”œβ”€β”€ postcss.config.js
β”œβ”€β”€ vite.config.js
β”œβ”€β”€ index.html
β”œβ”€β”€ public
β”‚   β”œβ”€β”€ assets
β”‚   β”‚   └── images --------- All Project Images
β”‚   β”œβ”€β”€ favicon.ico
β”‚   β”œβ”€β”€ manifest.json
β”‚   └── robots.txt
β”œβ”€β”€ README.md
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ App.jsx
β”‚   β”œβ”€β”€ assets
β”‚   β”‚   └── fonts ---------- Project fonts
β”‚   β”œβ”€β”€ components --------- UI and Detected Common Components
β”‚   β”œβ”€β”€ constants ---------- Project constants, eg: string consts
β”‚   β”œβ”€β”€ hooks -------------- Helpful Hooks
β”‚   β”œβ”€β”€ index.jsx
β”‚   β”œβ”€β”€ pages -------------- All route pages
β”‚   β”œβ”€β”€ Routes.jsx ---------- Routing
β”‚   β”œβ”€β”€ styles
β”‚   β”‚   β”œβ”€β”€ index.css ------ Other Global Styles
β”‚   β”‚   └── tailwind.css --- Default Tailwind modules
β”‚   └── util
β”‚       └── index.jsx ------- Helpful utils
└── tailwind.config.js ----- Entire theme config, colors, fonts etc.

For the project to build, these files must exist with exact filenames:

  • index.html is the page template;
  • src/index.jsx is the JavaScript entry point.

You may create subdirectories inside src.

Available Scripts

In the project directory, you can run:

npm start

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

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production to the build folder.

npm run 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.

Installing a Dependency

You can install any dependencies (for example, React Router) with npm:

npm install --save react-router

Alternatively you may use yarn:

yarn add react-router

License

MIT License

Copyright (c) 2023 DhiWise

Permission is hereby granted, to any person obtaining a copy of this software and associated documentation files (the "Software"),to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

DhiWise Support

DhiWise Twitter

DhiWise YouTube

DhiWise Discord

DhiWise Documentation

About

My personal website πŸ’», a dynamic and responsive site designed to showcase my portfolio, blog, and professional journey. Built with React, this site leverages the power of modern web development frameworks to deliver a seamless user experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published