Giter Site home page Giter Site logo

alexanderthegreat491 / react-portfolio Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.06 MB

A portfolio of my web development work. https://blooming-spire-21092.herokuapp.com/

License: MIT License

HTML 8.50% CSS 27.47% JavaScript 64.03%
css3 javascript jsx react html

react-portfolio's Introduction

React-Portfolio

Table of Contents

Please use this table of contents to navigate this README.

Description

A portfolio utilizing React to showcase my web development work.

  • What was your motivation?

My motivation was to create a portfolio of my web development work utilizing React, so that I could have a portfolio that I could improve over time and have more contorl of how the app is affected when I make changes to it in the future, as well as demonstrating my overall proficiency in React.

  • What did you learn?

I learned that JSX is similar to HTML, but in many ways very different in how it can be styled especially if any components are designed to be rendered conditionally. I learned that many aspects of Bootstrap work in ways in JSX that are very similar to HTML, but the syntax is different and that one component can be styled without affecting the other components. Additionally, I learned that deploying a React app to GitHub Pages is very complex after I encountered technical difficulties that were significant enough prevent me from deploying the app to GitHub Pages and having to resort to deploying the app to Heroku instead of GitHub Pages.

Installation

Please utilize the following steps to install and deploy the app.

Step 1: Create a folder where you want the app to reside on your local computer.

Step 2: Create a repository on GitHub and use the git clone command to clone the repository to the folder that you just created.

Step 3: Run the command npx create-react-app <name of your app> to create a development version of the app.

Step 4: Then copy the src folder from the Public Repository and make any needed changes to the package.json.

Step 5: Save, then add, then commit to your repository.

Step 6: If you want to deploy the app utilizing GitHub Pages first add a homepage field to your package.json "homepage": "https://myusername.github.io/my-app"then run npm install --save gh-pages then modify the scripts to include "predeploy": "npm run build", "deploy": "gh-pages -d build" then save, add, and commit and run npm run build.

Step 7: If step 6 does not work you may need to change the second of the two scripts that you just added to your package.json "deploy": "gh-pages -b main -d build".

Step 8: Alternatively, if you want to deploy the app using Heroku run heroku login then run heroku create. Then run the command git push heroku main and once the build has succeeded go to your Heroku dashboard and select the app.

Step 9: Before beginning this step make sure that your GitHub account is linked to your Heroku account. Click on the Deploy tab and then click on GitHub. Then begin typing the name of your repository and then you should be able to select it from a list, then click connect. Also, make sure to enable automatic deployments from your main branch! Now when you go back to your repository in your browser and hit the refresh button you should see your new Heroku app under Environments on the right hand side of the screen. Now the app is deployed and you can continue to modify it as needed!

Usage

The app can be used locally by running the git clone command to clone the Public Repository and then running the command npm start. Please visiti the link to the deployed application to utilize the deployed version of the application. The app can be utlized once deployed by following the Installation instructions above.

The following screenshots give an idea for how the app can be used.

screenshot1

screenshot2

screenshot3

screenshot4

screenshot5

Credits

Collaborators:

Alex Van Dyke

Sources:

A Complete Guide to Flexbox

Array.prototype.map()

Basic Concepts of flexbox

Bootstrap Cards

Create React App

CSS Layout

CSS Rounded Corners

CSS Box Model

Deployement

DOM Elements

Font Awesome

freeCodeCamp

Grouping Multiple CSS Selectors

Highlight The Active Navigation Bar Link Using NavLink in React

How to Delete a Git Branch Both Locally and Remotely

How to move an entire dive element up x pixels

How to add comments to JSX

How to Create the Copyright Symbol in HTML

How to add multiple attributes to a react element? duplicate

How to Align Labels Next to Inputs

How to create a bullet list with no bullets in HTML

HTML Lists

Pixels to Ems Conversion

justify-content

Lists and Keys

:root

React Docs

react-router-dom

react-dom

react-scripts

react-icons

@testing-library/jest-dom

@testing-library/react

width

License

Link to license

react-portfolio's People

Contributors

alexanderthegreat491 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.