You are on page 1of 6
25/10/2021 16:08 [News Track- News Aggregator - CodeProject 009) CODE PROJECT News Track - News Aggregator Gerard Castell6 Viader a 26 0ct2021 MIT News Track is a news tracking or news aggregator website where users can share the content they find on the Internet and give to it certain visibility ‘The project is made by using NET Core API as backend and ElasticSearch as NoSQL database while its frontend is made with Angular 5 and Bootstrap 3, Here, we discuss some ofits features and look at a bit of the code behind configuration, Download latest Repository Archive Download local copy GS CES) News Track News Track is a news tracking or news aggregator website where users can share the content they find on Internet and give to it ccortain visibility. The project is made by using NET Core API as backend and ElasticSearch as NoSQL database while its frontend is made with Angular § and Bootstrap 3. Features + Membership control panel + Content browser + Search engine + Last news + Most popular news + Most embarrasing news + Related news + Suggested news and tags + Corporate content (terms, privacy and about vs) Membership control panel Nowadays the membership is limited to admin purposes, meaning that only the aclmin and contributors can post news, create new Users, change current password, and dispatch the suggestion process. In a near feature more kind of users will be added. hitps:lwwu.codeproject.com/Artcles/5290283/News-Track-News-Aggregator?display=Print 118 26/10/2021 16:08 [News Track- News Aggregator - CodeProject ‘Change password ce Create new user Browsing Process relationships ‘To set your admin settings, update your backend appsettings.son file. Once the application wakes up it will create the user. JavaScript “Admin”: { "Username": "ADMIN_USERNAME", "Email": , “password”: "ADMIN_PASSWORD" , Content browser By using this feature the user is able to browse a given URL and choose an image, a ttle and some paragraphs that represent the ews. At same time the user can relate this content to other content that is already on the system and tag it with the most representative words, I's important to tag and relate to other existing content properly because the suggestion process algorithm Uses this information in order to accomplish more accurate suggestions. hitps:lwwu.codeproject.com/Artcles/5290283/News-Track-News-Aggregator?sisplay=Print 26/10/2021 16:08 Pictures = a Tiles Paragraphs Search engine ‘The users able to search content by using relevant words and tags =oe oe We've got 10 years to ditch fossi fuel cars or i's game over for the climate Trains vs. planes: Whats the real cost of travel? seco Last news ‘This feature lists the last incoming news on the system. hitps:lww.codeproject.com/Artcles/5290283/News-Track-News-Aggregator?sisplay-Print [News Track- News Aggregator - CodeProject Sao =e) See f fepeheneened ay yen Sa ome Sanne om 38 26/10/2021 16:08 [News Track- News Aggregator - CodeProject ‘We've got 10 years to ditch fossil fuel cars — or its game over for the climate ~ eens ene ‘Can Uganda bring back rhinos poached to extinction? Tee cas ee Se tn Kenya, rangers tum detectives to protect elephants Crea egestoweerrannitneall Most popular news This feature ists the most viewed news on the system. Once a user get a certain news, the viewes counter gets increased. Most embarrasing news ‘This feature lists the most embarrassing nevis on the system. The user is able to complain about certain content. Once a user clicks the embarrasing button, the counter gets increased, Related news This feature lists related content. Suggested news and tags ‘As much content the system has, the better. The algorithm will search for related news and tags to match other content and get suggestions. Corporate content Built-in section with Terms, Privacy and About us. You only need to update the assets/appsettings json file to customize your website JavaScript { defaultLanguage": "en" , brand”: , “twitterUrl": "http: //wim.tuitten.con", Facebookur1": , “githubUrl": "http: //ww.github.com" , corporation": , country": "Spain" hitps:lwwu.codeproject.com/Artcles/5290283/News-Track-News-Aggregator?display=Print 46 26/10/2021 16:08 [News Track- News Aggregator - CodeProject Remove the social media URLs or leave them blank in case you don't want to make them appear at the website's footer. Configuration Update the backend appsettings,son file forthe following purposes: JavaScript “Connectionstrings": { "ElasticSearch": "http: //Localhost:9200" Set your ElastichSearch endpoint. JavaScript “Websites: [ "www. sonewebsite.con" J Set your website black ist in order to warn you that the content you are about to post belongs to certain owner. JavaScript "smtp": From”: "SENDER", Username”: "SMTP_USERNAME”, Host": "SMIP_HOSTNAME", Password": "SMTP_PASSWORD" , Port": "SMPT_PORT_NUMBER" ‘Set your SMTP settings in order to get email warnings in case your account has been blocked, account created or account confirmed, Leaving the settings as empty the engine will generate email files into a directory called outbox. JavaScript "Tokens": { ssuer": "http: //Localhost/NewsTrack .NebApi", ence": "http://localhost :4208", "SIGNING_KEY" Set your WT settings. JavaScript “apiurl": "http: //localhost /NewsTrack.WebApi" Set your public website domain (with or without path). JavaScript “SignInurl "http: //localhost:4200/authentication" Set your frontend authentication URL where the user has to be redirected once he confirms his membership. Docker Use docker compose file which wakes up a replicaset of ElasticSearch nodes and a Kibana instance hitpsslwwu.codeproject.com/Artcles/5296283/News-Track-News-Aggregator76isplay=Print 56 26/10/2021 16:08 [News Track- News Aggregator - CodeProject docker-compose up License ‘This article, along with any associated source code and files, is licensed under The MIT License About the Author Gerard Castellé Viader Software Developer (Senior) Spain http://w linkedin.com/in/gerard-c https//github.com/gcastellov Comments and Discussions 12 messages have been posted for this article Visit https://www.cadeproject.cam/Articles/5299293/News-Track-News- ‘Aggregator to post and view comments on this article, or click here to get a prin view with messages, Permalink Article Copyright 2021 by Gerard Castellé Advertise Viner Privacy Everything else Copyright © CodeProject, 1999- Cookies 2021 Terms of Use Webod 28 20217018. hitps:lwwu.codeproject.com/Artcles/5290283/News-Track-News-Aggregator?display=Print 36

You might also like