An App that allows to user to view news articles relating to Tech. They can log in as a dummy user, vote on articles, make comments, delete comments and more. IMPORTANT: When initially rendering app, give it up to 1 minute to load. Initial render takes a long time due to using rendor.com free version for the API.
View Deployed App
·
Report Bug
.
See the Backend repo
Table of Contents
This is my first every full-stack application. It has a mobile first UX design and allows uses to scroll through news articles. A user may wish to:
- View all articles
- View topics available
- Search for topics (although there are currently only 3 available in the production database at the moment)
- Log in as a user already in the database (no authentication feature currently). This then displays on all screens
- Sign out as the user
- Vote on an article (which sends a patch request to the API)
- Post a comment (which sends a post request to the API)
- Delete a comment (which sends a delete request to the API)
Of course, no one template will serve all projects since your needs may be different. So I'll be adding more in the near future. You may also suggest changes by forking this repo and creating a pull request or opening an issue. Thanks to all the people have contributed to expanding this template!
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/tomalcock/nc-news.git
- Install NPM packages
npm install
- To view current app locally
npm run dev
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Tom Lacy-Alcock - [email protected]
Project Link: https://github.com/tomalcock/nc-news.git