north_coders_news
所属分类:快速开发平台
开发工具:CSS
文件大小:582KB
下载次数:0
上传日期:2017-06-07 14:24:15
上 传 者:
sh-1993
说明: 北方新闻,,
(north_coders_news,,)
文件列表:
north_coders_news-northCodersNews (0, 2017-06-07)
north_coders_news-northCodersNews\.babelrc (80, 2017-06-07)
north_coders_news-northCodersNews\.eslintrc (882, 2017-06-07)
north_coders_news-northCodersNews\config.js (102, 2017-06-07)
north_coders_news-northCodersNews\package.json (1320, 2017-06-07)
north_coders_news-northCodersNews\public (0, 2017-06-07)
north_coders_news-northCodersNews\public\index.html (273, 2017-06-07)
north_coders_news-northCodersNews\server (0, 2017-06-07)
north_coders_news-northCodersNews\server\app.js (283, 2017-06-07)
north_coders_news-northCodersNews\server\index.js (68, 2017-06-07)
north_coders_news-northCodersNews\spec (0, 2017-06-07)
north_coders_news-northCodersNews\spec\actions.spec.js (4802, 2017-06-07)
north_coders_news-northCodersNews\spec\articles.reducer.spec.js (5002, 2017-06-07)
north_coders_news-northCodersNews\spec\comments.reducer.spec.js (4229, 2017-06-07)
north_coders_news-northCodersNews\src (0, 2017-06-07)
north_coders_news-northCodersNews\src\actions (0, 2017-06-07)
north_coders_news-northCodersNews\src\actions\actions.js (5642, 2017-06-07)
north_coders_news-northCodersNews\src\actions\types.js (1309, 2017-06-07)
north_coders_news-northCodersNews\src\components (0, 2017-06-07)
north_coders_news-northCodersNews\src\components\App.js (287, 2017-06-07)
north_coders_news-northCodersNews\src\components\ArticleCard.js (2620, 2017-06-07)
north_coders_news-northCodersNews\src\components\ArticleList.js (1352, 2017-06-07)
north_coders_news-northCodersNews\src\components\ArticlePage.js (2369, 2017-06-07)
north_coders_news-northCodersNews\src\components\CommentCard.js (1368, 2017-06-07)
north_coders_news-northCodersNews\src\components\CommentList.js (1467, 2017-06-07)
north_coders_news-northCodersNews\src\components\Footer.js (220, 2017-06-07)
north_coders_news-northCodersNews\src\components\NavBar.js (1677, 2017-06-07)
north_coders_news-northCodersNews\src\components\PostCommentForm.js (592, 2017-06-07)
north_coders_news-northCodersNews\src\components\TopicArticleList.js (1327, 2017-06-07)
north_coders_news-northCodersNews\src\css (0, 2017-06-07)
north_coders_news-northCodersNews\src\css\ArticleCard.css (1151, 2017-06-07)
north_coders_news-northCodersNews\src\css\ArticlePage.css (514, 2017-06-07)
north_coders_news-northCodersNews\src\css\NavBar.css (323, 2017-06-07)
north_coders_news-northCodersNews\src\css\bulma.css (124001, 2017-06-07)
north_coders_news-northCodersNews\src\css\font-awesome.css (35134, 2017-06-07)
north_coders_news-northCodersNews\src\fonts (0, 2017-06-07)
north_coders_news-northCodersNews\src\fonts\FontAwesome.otf (124988, 2017-06-07)
north_coders_news-northCodersNews\src\fonts\fontawesome-webfont.eot (76518, 2017-06-07)
... ...
# NorthCodersNews
This project is essentially a simplistic replica of redit, showcasing my coding skills with a functionally rich project. The project lists various articles on the home page.You can navigate to specific topics and then all the articles associated with the topic will be listed. You can up and down vote on comments and articles. In addition you can post a new comment to the article page.
## Getting Started
To obtain a copy of this project you will need to follow the instructions below:
-On the command line change into the directory you wish to clone the project
-Copy the HTTPS clone url
-carry out the following commands:
git clone https://github.com/Richard-Thompson/north_coders_news.git
cd north_coders_news
## Prerequisites
### Node:
Install Node according to the instructions on https://nodejs.org/en/
run node -v to check if node is or has been installed
### NPM:
Ensure that npm is fully updated, carry out the following command in your terminal:
npm install npm@latest -g
run npm -v to see if node has been installed and what version you are running
## Installing
Once you have all the required software installed, go to the directory of the cloned project and run the following commmand:
npm install
This will install all the dependencies of the project.
To start the project on a localhost server run the following command
npm run dev
You will now be able to see the project by navigating to:
localhost:9080
Alternatively you can go to the deployed website:
https://secret-harbor-32173.herokuapp.com/
## Running the tests
To run all the automated tests for this project, all you have to do is the following command in the root directory:
```
npm test
```
## Coding style tests
In this project I have installed eslint to highlight any syntax errors.
This will run a posttest script.
Once running errors will show in the console.
## Built With
* [Node](https://nodejs.org/en/docs/) - Javascript runtime
* [NPM](https://docs.npmjs.com/) - Dependency Management
* [Webpack](http://webpack.github.io/docs/) - Module bundler
* [React](https://facebook.github.io/react/) - Javascript library for user-interfaces
* [Redux](http://redux.js.org/) - A predictable state container for JavaScript apps
* And others.
## Authors
* **Richard Thompson** - *Initial work* - [Richard Thompson](https://github.com/Richard-Thompson)
## Acknowledgments
* A great thanks to NorthCoders who mentored me and assisted in my learning of javascript and its libraries/frameworks
近期下载者:
相关文件:
收藏者: