news
所属分类:collect
开发工具:EJS
文件大小:0KB
下载次数:0
上传日期:2022-06-02 01:49:28
上 传 者:
sh-1993
说明: 使用Node.js和Newsapi的新闻网站
(News Website Using Node.js and Newsapi)
文件列表:
LICENSE (1076, 2022-06-01)
app.js (1836, 2022-06-01)
package-lock.json (53476, 2022-06-01)
package.json (401, 2022-06-01)
views/ (0, 2022-06-01)
views/base.ejs (68, 2022-06-01)
views/footer.ejs (324, 2022-06-01)
views/header.ejs (838, 2022-06-01)
views/index.ejs (1478, 2022-06-01)
views/nav.ejs (1117, 2022-06-01)
# News Website Using Node.js and NewsApi
## Check out Website:
https://news-app-node-js.herokuapp.com
This is News Website Created using Node.js, express,ejs, nodemon, axios, dotenv and body-parser
## Installation
Clone This Repository
```bash
git clone https://github.com/shaileshofficial2019/news.git
```
Then run Command
```bash
npm install
```
## GET NEWS API
First Go To https://newsapi.org then Sign up and GET Your API Key
## Config
Create "config.env" file in root directory and add this two fields
```env
API=YOUR_NEWSAPI_KEY
PORT=ENTER_PORT_WHICH_YOU_WANTS_TO_USE
```
## Usage
Start Server Using Terminal
```node
npm start
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
近期下载者:
相关文件:
收藏者: