Skip to content

lepris/NC-News-Front

Repository files navigation

NC NEWS REACT FRONTEND APP

enter image description here
Demo React frontend app serving articles from backend app NC-News-API

Live Demo

https://leprisnews.netlify.com/

status

Table of Contents

About The Project

NC News Portal App

This React web app enables to view and add articles, additionally users can comment them and vote up and down just like in Reddit.

Great functionalities:

  • Defining topics
  • Creating articles
  • Commenting
  • Voting on articles and other users comments

Default permissions

User roles Guest Authenticated User
View Articles OK OK
Add Articles X OK
Delete Articles X OK
Vote on Articles OK OK
View Topics OK OK
Add Topics X OK
Delete Topics X OK
View Comments OK OK
Add Comments X OK
Delete Comments X OK
Vote on Comments OK OK

Built With

Demo React frontend app using which uses ReachRouter for navigation and Axios for handling backend API requests.

NC-NEWS API: https://github.com/lepris/NC-News
React: https://reactjs.org/
ReachRouter: https://reach.tech/router
Axios: https://github.com/axios/axios

Getting Started

To run the project locally

Prerequisites

  • npm
npm install npm@latest -g

or

  • yarn

Follow Yarn installation instructions
https://yarnpkg.com/en/docs/install

Installation

  1. Clone the repo
git clone [email protected]:lepris/NC-News-Front.git
  1. Install dependencies
npm install

or

  • yarn
yarn

Run the app

Run the app locally

npm start

For app deployment follow your specific service provider instructions.

Contributing

Any contributions are extremely welcome.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature)
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

LinkedIn: www.linkedin.com/in/lepris

Project Link: https://github.com/lepris/NC-News

Acknowledgements

STACKEDIT https://stackedit.io
APIARY https://apiary.io

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published