hackernews
所属分类:数值算法/人工智能
开发工具:JavaScript
文件大小:7KB
下载次数:0
上传日期:2020-09-16 04:38:37
上 传 者:
sh-1993
说明: 黑客新闻-一个社会新闻网站,专注于计算机科学、企业家精神和任何令人满意的东西...
(Hackernews - A social news website focusing on computer science, entrepreneurship, and anything that gratifies one s intellectual curiosity.)
文件列表:
.babelrc (36, 2020-09-16)
.eslintrc (608, 2020-09-16)
__tests__ (0, 2020-09-16)
__tests__\index.test.jsx (229, 2020-09-16)
components (0, 2020-09-16)
components\Story.jsx (3254, 2020-09-16)
components\Story.test.jsx (236, 2020-09-16)
components\StoryType.jsx (790, 2020-09-16)
components\StoryType.test.jsx (323, 2020-09-16)
package.json (730, 2020-09-16)
pages (0, 2020-09-16)
pages\_app.jsx (1214, 2020-09-16)
pages\index.jsx (2016, 2020-09-16)
styles (0, 2020-09-16)
styles\base.css (370, 2020-09-16)
utils (0, 2020-09-16)
utils\api.js (584, 2020-09-16)
# HackerNews
A social news website focusing on computer science, entrepreneurship, and
anything that gratifies one's intellectual curiosity.
This project uses the official [HackerNews API](https://github.com/HackerNews/API)
with a custom [Next.js](https://nextjs.org) frontend.
## Getting Started
Make sure you've got [Node.js](https://nodejs.org) installed in your
development environment.
To start the development server, run:
```bash
yarn dev
# or if you're using `npm`
npm run dev
```
Visit [`localhost:3000`](http://localhost:3000) to see the application.
### Linting
To lint the codebase, run
```bash
yarn lint
# or if you're using `npm`
npm run lint
```
### Testing
To test the codebase, run
```bash
yarn test
# or if you're using `npm`
npm run test
```
### Production Mode
To build the application for production, run:
```bash
yarn build
# or if you're using `npm`
npm run build
```
To start the production server, run:
```bash
yarn start
# or if you're using `npm`
npm run start
```
近期下载者:
相关文件:
收藏者: