Skip to content

FilipPaskalev/reactjs-bs5-portfolio

Repository files navigation

Portfolio

Setting up the project

Create a new Directory:

mkdir portfolio-reactjs
cd portfolio-reactjs

Initialize the project with Vite

npm create vite@latest

Note

In version 1.0.0 the project is create at directory dev.

Install Dependencies

Enter the directory of the NodeJs project:

Warning

At this version 1.0.0 the project is at directory dev.

cd dev

Install Bootstrap and React Bootstrap:

npm install react-bootstrap bootstrap

Install React Router DOM:

npm install react-router-dom @types/react-router-dom

Install Jest for Testing:

npm install --save-dev jest @types/jest

Install NodeJs

npm install

Download and Installation

Design

Breakpoints

Breakpoint Size
Extra Small <576px
Small ≥576px
Medium ≥768px
Large ≥992px
X-Large ≥1200px
XX-Large ≥1400px

Recourses

Technologies

| React 18.2.0 | Vite 5.2.0 | React Bootstrap 2.10.2 | React Router 6.22.3 | Bootstrap 5.3.3 | Jest 29.7.0 | TypeScript 5.2.2 | Node.js 20.12.2 | Prettier 3.2.5 | JavaScript |

Markdown

| Notes | Syntax | Recourse | Recourse |

React router

| w3school | How To Create A Navbar In React With Routing | Scroll to anchor element with react router |

Bootstrap

| jsdelivr | Containers | React Bootstrap Offcanvas Component | Offcanvas | Background color | Bootstrap 5 Utilities | Tooltips 1 | Tooltips 2 | Offcanvas | React Bootstrap Project on GitHub | React Router Bootstrap | Bootstrap Icons | Recourse | Recourse | Recourse | Recourse | Recourse | Recourse | Recourse |

TypeScript

| Typing Component Props | Typing defaultProps | Recourse | Recourse | Recourse | Recourse | Recourse |

HTML

| footer | address | Recourse | Recourse | Recourse |

Articles

| How to Create a Personal Portfolio Page [Step-by-Step] | How to format international telephone numbers | Awesome React Bootstrap Component | React Bootstrap VS Bootstrap | Set Up FontAwesome with React | How to set up Font Awesome in React | Recourse | Recourse | Recourse | Recourse | Recourse | Recourse | Recourse | Recourse |

Other resources, tools, etc.

About

Change log

Version 1.0.0

  • Initial version and release
  • Add TypeScript to the project
  • Add React Bootstrap to the project
  • Refactor the project to Bootstrap 5
  • Refactor the About section in components
  • Received the data for the section from JSON file in main component
  • All received data has Types and Interfaces
  • Add semantic HTML
  • CSS files are separate for every component
  • Add header, sub header, footer section
  • Text can be rendered dynamically (received from JSON file)
  • Add icons to the footer section dynamically ( received from JSON file)
  • Add tooltip to all icons in footer

Contributions

Original Bootstrap template

Copyright and License

License

This project is licensed under the MIT License - see the LICENSE file for details

MIT License

Copyright (c) 2024 Filip Paskalev

Permission is hereby granted, free of charge, 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 NONINFRINGEMENT. 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.

The MIT License (MIT)

Copyright (c) 2011-2024 The Bootstrap Authors

Permission is hereby granted, free of charge, 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 NONINFRINGEMENT. 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.

Copyright

Copyright TODO: ADD TEXT. Code released under the [MIT](TODO add link) license.

Prettier

{
  "singleQuote": true,
  "semi": false,
  "tabWidth": 2,
  "trailingComma": "none",
  "jsxSingleQuote": true,
  "jsxBracketSameLine": false,
  "arrowParens": "avoid",
  "printWidth": 80
}

Prettier Configuration

  • "singleQuote": true: Use single quotes instead of double quotes.
  • "semi": false: Don't use semicolons at the end of statements.
  • "tabWidth": 2: Use 2 spaces for indentation.
  • "trailingComma": "none": No trailing commas.
  • "jsxSingleQuote": true: Use single quotes for JSX attributes.
  • "jsxBracketSameLine": false: Put the > of a multi-line JSX element at the end of the last line instead of being alone on the next line.
  • "arrowParens": "avoid": Omit parentheses around a single parameter in arrow functions.
  • "printWidth": 80: Wrap lines at 80 characters.