711ddd5474 | ||
---|---|---|
.vscode | ||
assets | ||
markdownReadme/src | ||
playground | ||
server | ||
step1-01 | ||
step1-02 | ||
step1-03 | ||
step1-04 | ||
step1-05 | ||
step1-06 | ||
step1-07 | ||
step2-01 | ||
step2-02 | ||
step2-03 | ||
step2-04 | ||
step2-05 | ||
step2-06 | ||
step2-07 | ||
step2-08 | ||
step2-09 | ||
.gitignore | ||
README.md | ||
azure-pipelines.pr.yml | ||
azure-pipelines.yml | ||
index.html | ||
jest.config.js | ||
jest.setup.js | ||
package-lock.json | ||
package.json | ||
prettier.config.js | ||
tsconfig.json | ||
webpack.config.js |
README.md
Frontend Bootcamp / Days in the Web
🚨🚨 This project is still a WIP. Issues and PRs are welcome for typos or inaccuracies. 🚨🚨
Purpose of this workshop
This repo is the content for a two-day workshop focused on introducing you to the fundamentals of web development. By the end of these two days you will have a better understanding of how we write and deliver features on the web. You will also get some hands-on experience using everything from HTML, CSS and JavaScript to React, Redux and UI Fabric as we build a working application together.
Who this workshop is for
This workshop starts as a very high level introduction to the core principles of the web: HTML, CSS and JavaScript. This section is targeted at new and experienced developers alike. The second day dives into more complex topics such as TypeScript and state management within an application. The examples should be accessible to anyone, but you will get more out of the day if you have some foundational experience in programing or web technologies.
Web Workshop Setup
Computer Setup
- Node/NPM (choose the LTS option)
- Git
- VS Code Editor
- Up-to-date browser with React Developer Tools
- React Developer Tools: Chrome or Firefox
Demo/Exercise Setup
$ git clone https://github.com/Microsoft/frontend-bootcamp.git
$ cd frontend-bootcamp
$ npm install
# For Day 1, Steps 1-3
$ npm run static
# For the rest of the steps
$ npm start
Table of Contents
Day One
- Introduction to HTML, CSS and JavaScript
- Writing a Todo App: HTML and CSS
- Writing a Todo App: JavaScript
- React Introduction
- Building a Static Page
- State Driven UI
- Types & UI Driven State
Day Two
Demo and Exercises are combined
- Introduction to TypeScript
- UI Fabric Component Library
- Theming and Styling
- Testing with Jest
- Redux: Reducers
- Redux: Dispatching Actions and Examining State
- Redux: Stores and Dispatch
- Redux: Combining Reducers
- 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 @ MS
- UI Fabric - github repo
- Just: The task library that just works - github repo
- Rush: A scalable monorepo manager for the web - github repo
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.
Legal Notices
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.