hackers-news
所属分类:WEB开发
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-11-26 07:40:03
上 传 者:
sh-1993
说明: 使用React和TypeScript的黑客新闻项目,为故事、评论和收藏夹列表获取API。
(Hackers News Project with React and TypeScript, fetching an API for the stories, comments and favorite list.)
文件列表:
.eslintrc.cjs (697, 2023-11-25)
index.html (687, 2023-11-25)
package.json (1036, 2023-11-25)
public/ (0, 2023-11-25)
public/icon.svg (1478, 2023-11-25)
src/ (0, 2023-11-25)
src/App/ (0, 2023-11-25)
src/App/app.css.ts (448, 2023-11-25)
src/App/index.tsx (839, 2023-11-25)
src/Components/ (0, 2023-11-25)
src/Components/Comment/ (0, 2023-11-25)
src/Components/Comment/comment.css.ts (862, 2023-11-25)
src/Components/Comment/index.tsx (1177, 2023-11-25)
src/Components/CommentLoader/ (0, 2023-11-25)
src/Components/CommentLoader/index.tsx (333, 2023-11-25)
src/Components/Header/ (0, 2023-11-25)
src/Components/Header/header.css.ts (567, 2023-11-25)
src/Components/Header/index.tsx (383, 2023-11-25)
src/Components/ListOfComments/ (0, 2023-11-25)
src/Components/ListOfComments/index.tsx (407, 2023-11-25)
src/Components/ListOfComments/listOfComments.css.ts (590, 2023-11-25)
src/Components/Nav/ (0, 2023-11-25)
src/Components/Nav/index.tsx (709, 2023-11-25)
src/Components/Nav/nav.css.ts (1617, 2023-11-25)
src/Components/Story/ (0, 2023-11-25)
src/Components/Story/index.tsx (2582, 2023-11-25)
src/Components/Story/story.css.ts (2054, 2023-11-25)
src/Components/StoryLoader/ (0, 2023-11-25)
src/Components/StoryLoader/index.tsx (409, 2023-11-25)
src/Components/StoryLoader/storyLoader.css.ts (940, 2023-11-25)
src/Hooks/ (0, 2023-11-25)
src/Hooks/useFavorites/ (0, 2023-11-25)
src/Hooks/useFavorites/index.tsx (997, 2023-11-25)
src/Hooks/useRemoveFavorite/ (0, 2023-11-25)
src/Hooks/useRemoveFavorite/index.tsx (1515, 2023-11-25)
src/Hooks/useStories/ (0, 2023-11-25)
src/Hooks/useStories/index.ts (2063, 2023-11-25)
src/Page/ (0, 2023-11-25)
... ...
# Introduction
Hackers News
Hackers News Project with React and TypeScript, fetching an API for the stories, comments and favorite list.
## Skills
![](https://img.shields.io/badge/HTML-informational?style=for-the-badge&logo=htm5l&logoColor=edf2f4&color=0b1622&labelColor=ff0000)
![](https://img.shields.io/badge/CSS-informational?style=for-the-badge&logo=css3&logoColor=edf2f4&color=0b1622&labelColor=ff0000)
![](https://img.shields.io/badge/JavaScript-informational?style=for-the-badge&logo=JavaScript&logoColor=edf2f4&color=0b1622&labelColor=ff0000)
![](https://img.shields.io/badge/TypeScript-informational?style=for-the-badge&logo=typescript&logoColor=edf2f4&color=0b1622&labelColor=ff0000)
![](https://img.shields.io/badge/React-informational?style=for-the-badge&logo=react&logoColor=edf2f4&color=0b1622&labelColor=ff0000)
## Fork
You are free to fork this repository, either to see the code or use the portfolio, always giving the respective credits.
## Installation
1. Install dependencies
```sh
npm install
```
## Development
2. Start the development server
```sh
npm run dev
```
## Production
3. Generate a production build
```sh
npm run build
```
近期下载者:
相关文件:
收藏者: