Uczę się technologii X. Mam przed sobą pliki z prawdziwego projektu, który zbudowałem z AI: @y.
Wyjaśniaj krok po kroku, skupiając się na jednym kluczowym koncepcie.
Zacznij od tego, co się dzieje na serwerze gdy użytkownik wchodzi na stronę, a potem co dzieje się w przeglądarce.
Po każdym kroku zadaj mi pytanie sprawdzające - nie kontynuuj, dopóki nie odpowiem poprawnie.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "openapi": "3.0.0", | |
| "info": { | |
| "title": "Rick and Morty API", | |
| "description": "Access information about characters from Rick and Morty.", | |
| "version": "1.0.0" | |
| }, | |
| "servers": [ | |
| { | |
| "url": "https://rickandmortyapi.com/api" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import './App.css'; | |
| import { useState } from 'react'; | |
| function App() { | |
| const states = { | |
| empty: 'empty', | |
| isLoading: 'loading', | |
| hasLoaded: 'loaded', | |
| hasError: 'error', | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "editor.defaultFormatter": "dbaeumer.vscode-eslint", | |
| "eslint.format.enable": true, | |
| "eslint.lintTask.enable": true, | |
| "eslint.alwaysShowStatus": true, | |
| "eslint.validate": [ | |
| "javascript", | |
| "html" | |
| ], | |
| "editor.formatOnSave": true, |
code --install-extension aaron-bond.better-comments code --install-extension abusaidm.html-snippets code --install-extension agauniyal.vscode-caniuse code --install-extension ahmadawais.shades-of-purple code --install-extension akamud.vscode-javascript-snippet-pack code --install-extension albert.TabOut code --install-extension AlDuncanson.react-hooks-snippets code --install-extension alefragnani.Bookmarks code --install-extension alefragnani.project-manager code --install-extension andys8.jest-snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "vscode_custom_css.imports": [""], | |
| "vscode_custom_css.policy": true, | |
| "editor.scrollbar.verticalScrollbarSize": 0, | |
| "editor.scrollBeyondLastLine": false, | |
| "window.zoomLevel": 0, | |
| "editor.fontSize": 28, | |
| "emmet.includeLanguages": { | |
| "javascript": "javascriptreact", | |
| "vue-html": "html", |