Git Product home page Git Product logo

intro-react's Introduction

"Hello" there ๐Ÿ‘‹

From being an "IT Boy" ๐Ÿ‘ฆ๐Ÿป during my teenage years to my current role as an IT consultant and software and front-end interface developer, I have always pursued a simple goal: to help people create better digital experiences. ๐Ÿค

For over a decade, I have been researching and applying technology in Brazil to streamline processes for dozens of companies.

With a background in journalism and web development, I also enjoy teaching and learning about design, digital marketing, business planning, and artificial intelligence. Currently based in Brazil, I am also a vegan.

๐Ÿ‘ฝ Specialties: โ€ข Software and app planning โ€ข Digital business planning โ€ข Web design (Figma nerd) and UI/UX (user flows, SEO, Balsamiq mockups) โ€ข HTML5, CSS3 โ€ข Wordpress theme development โ€ข Woocommerce โ€ข Javascript (for front-end) โ€ข NoCode tools (how to help companies save time and money by not reinventing the wheel?)

HTML5 JavaScript Markdown PHP TypeScript jQuery NPM Next JS NodeJS React Vue.js Yarn Visual Studio Code

intro-react's People

Contributors

githubteacher avatar marcelxv avatar

Watchers

 avatar

intro-react's Issues

Welcome to React

Set up a React Application Locally

Hello and welcome!

Before starting this course, we recommend completing the Introduction to GitHub Learning Lab first with the option for working locally in the command line.

What's in our React App

Let's take a look of what our React App looks like right now. We will go through our file structure which is a standard React setup. You will not be editing any files in this step, but the structure is important for future code references.

File Structure

package.json

The package.json file is our roadmap of the app. It tells us the name of the app, the version, the different dependencies we need to run our app, and more.

public/

The public/ directory contains our index.html file. The index.html file directs us to the rest of the web application that requires additional processing.

src

This is where most of your code will go. You'll notice we have App.jsx along with other jsx files. But, what is jsx? Think of jsx as a mix between html and javascript. We can write tags, functions, and classes. Take a look at the App.jsx file. Some of that contents might look familiar from html, like <div/> tags.

Step 1: Set up the project locally

In this repository, we have two branches - main and changes. We will be working off of the changes branch. Let's go ahead and get started.

โŒจ๏ธ Activity: Clone the repository and install Node

  1. Open your terminal
    • If you're using a Windows operating system, we recommend downloading and using git bash as your terminal
  2. Change directories into a location where you want to keep this project
  3. Clone this repository: git clone https://github.com/marcelxv/intro-react
  4. Move into the repository's directory: cd intro-react
  5. Checkout to the changes branch: git checkout changes
  6. Open the intro-react folder in your favorite text editor
  7. Check for Node installation: node -v
  8. Install Node if it is not installed
  9. In your repository folder, install the necessary packages: npm install
  10. Start the React Application: npm start

Your browser should automatically open http://localhost:3000/, and you should see our barebones gradebook application.

You'll see that our app can't really do anything! All we have is three buttons! We are going to add all the functionality.

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.