Frontend Workshop from HTML/CSS/JS to TypeScript/React/Redux
Перейти к файлу
Ken 619f17f2b8 some exercise for 2.6 2019-02-28 22:37:47 -08:00
.vscode adding a recommended extension of prettier 2019-02-28 09:56:04 -08:00
assets little tweaks, and splitting step 2-6 readme 2019-02-28 22:34:32 -08:00
markdownReadme/src splitting 2.1 and 2.2 readme's 2019-02-28 21:45:48 -08:00
playground Fix plural in footer with 0 items 2019-02-28 01:13:28 -08:00
server [Server] Send HTTP response after processing request. 2019-02-25 12:12:11 -08:00
step1-01 More day 1 updates 2019-02-28 00:05:25 -08:00
step1-02 Add instructions for how to run the exercises 2019-02-28 12:22:21 -08:00
step1-03 Add instructions for how to run the exercises 2019-02-28 12:22:21 -08:00
step1-04 Merge branch 'master' into start 2019-02-28 15:37:53 -08:00
step1-05 Merge branch 'master' into start 2019-02-28 15:37:53 -08:00
step1-06 Merge branch 'master' into start 2019-02-28 15:37:53 -08:00
step1-07 incorporating feedback on immutable complete 2019-02-28 21:03:14 -08:00
step2-01 little tweaks, and splitting step 2-6 readme 2019-02-28 22:34:32 -08:00
step2-02 splitting 2.1 and 2.2 readme's 2019-02-28 21:45:48 -08:00
step2-03 little tweaks, and splitting step 2-6 readme 2019-02-28 22:34:32 -08:00
step2-04 little tweaks, and splitting step 2-6 readme 2019-02-28 22:34:32 -08:00
step2-05 some exercise for 2.6 2019-02-28 22:37:47 -08:00
step2-06 little tweaks, and splitting step 2-6 readme 2019-02-28 22:34:32 -08:00
step2-07 More day 2 updates 2019-02-28 22:29:28 -08:00
step2-08 little tweaks, and splitting step 2-6 readme 2019-02-28 22:34:32 -08:00
step2-09 little tweaks, and splitting step 2-6 readme 2019-02-28 22:34:32 -08:00
.gitignore checking in docs for github.io page 2019-02-19 23:41:11 -08:00
LICENSE Fixing license 2019-02-27 08:40:29 -08:00
LICENSE-CODE Fixing license 2019-02-27 08:40:29 -08:00
README.md fixing the location of Terminal.app 2019-02-28 21:17:27 -08:00
azure-pipelines.pr.yml getting rid of some typo 2019-02-25 21:54:48 -08:00
azure-pipelines.yml revert 2019-02-25 21:51:33 -08:00
index.html moved 2.7-2.9 2019-02-28 22:18:33 -08:00
jest.config.js adding enzyme test 2019-02-24 14:02:44 -08:00
jest.setup.js adding enzyme test 2019-02-24 14:02:44 -08:00
package-lock.json Merge pull request #14 from ecraig12345/editing 2019-02-26 14:25:42 -08:00
package.json step 1 updates 2019-02-26 19:32:33 -08:00
prettier.config.js adding some redux steps 2019-02-16 17:00:47 -08:00
tsconfig.json fixing the tsconfig to exclude docs/ dir 2019-02-20 11:13:16 -08:00
webpack.config.js add readme.md for steps in day1 2019-02-24 20:03:18 -08:00

README.md

Frontend Bootcamp / Days in the Web

🚨🚨 This project is a work in progress! Issues and pull requests are encouraged. 🚨🚨

Welcome

In this two-day workshop you'll learn the basics of frontend development while building a working web app.

The first day provides an introduction to the fundamentals of the web: HTML, CSS and JavaScript. This is targeted at new and experienced developers alike. On the second day we'll dive into more advanced topics like TypeScript, testing, and state management. While the examples should be accessible to anyone, you'll get the most out of it if you have some prior experience with programming and web technologies.

Getting set up

Required software

Before starting, make sure your computer has the following installed:

Installing and running the project

1. Find a good terminal program--we're going to use it a LOT!

  • On a PC, you can do this with cmd.exe (or some terminal programs such as cmder)

  • On a Mac, bring up a Terminal (inside /Applications/Utilities folder).

  • For those who really want something fancy looking: hyper

2. Clone repo and npm install

First, cd to a good place to put your copy of the Git repo.

  • Windows: run cd %USERPROFILE% (if using cmd.exe) or cd ~ (if using Bash)
  • Mac: Terminal automatically opens to your user directory (/Users/you)

Then run the following to make a local copy of the repo and get it ready to run:

git clone https://github.com/Microsoft/frontend-bootcamp.git
cd frontend-bootcamp
npm install

If you have VS Code installed, type the following command to open a VS Code window where you can browse and open all the files in the project. (If on a Mac, be sure you've followed these steps first to make the code command available.)

code .

3. Run the "inner loop" build

For steps 1-3 on Day 1:

npm run static

For everything else:

npm start

Course material

Day one

  1. Introduction to HTML, CSS and JavaScript
  2. Writing a Todo App: HTML and CSS
  3. Writing a Todo App: JavaScript
  4. React Introduction
  5. Building a Static Page
  6. State Driven UI
  7. Types & UI Driven State

Day two

The demos and exercises for today are combined.

  1. Introduction to TypeScript
  2. UI Fabric Component Library
  3. Theming and Styling
  4. Testing with Jest
  5. Redux: Reducers
  6. Redux: Dispatching Actions and Examining State
  7. Redux: Stores and Dispatch
  8. Redux: Combining Reducers
  9. Redux: Thunk Middleware

Additional resources

Follow the authors!

If you are interested in JavaScript, TypeScript, React, Redux, or Design Systems, follow us on Twitter:

Other projects from the UI Fabric team at Microsoft

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

Privacy information can be found at https://privacy.microsoft.com/en-us/

Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.