Git Product home page Git Product logo

news-aggregator-app's Introduction

News Site PHP + Laravel + ReactJS + TypeScript

News Aggregator web site: PHP + Laravel + ReactJS

Frontend Tech:- ReactJS, TypeScript, ReactQuery by TanStack https://tanstack.com/query/v3/

Backend Tech:- PHP, Laravel, MySQL

Feature

  1. Signup / Signin
  2. Personalized Feed recommendation
  3. Save the Search result
  4. Search & Filter by text, category, author, and source
  5. Social SignIn (ToDo)
  6. Bookmark Search Result (ToDo)
  7. Social Share (ToDo)
  8. Comments & Discussion thread (ToDo)
  9. Provide User Independent News Feeder. So, the user can add multiple news feed sources as needed. (ToDo)
  10. Mobile APP using ReactJS + CapacitorJS (ToDo)

News Feed Source From

News Aggregator App Video

App Home Page

Frontend Setup

Follow these commands to setup and run the frontend project.

1) nvm use

First run nvm use command set NodeJS version this project required.

2) yarn

3) yarn start

4) yarn build

5) yarn fix:preBuild

Needs to execute before all git add/commit to fix Linting, TS, and SCSS issue and formatting. All below command will be executed when run fix:preBuild

  • yarn fix:style
  • yarn fix:lint
  • yarn fix:esLint

6) Update the API endpoint domain

Update const API_BASE_URL under src/api/endpoints.ts (NOTE: As of now static. Needs to be in ENV)

Project Setup

Follow all these steps to setup the backend

Execute command in backend

  1. composer install
  2. php artisan migrate
  3. php artisan db:seed
  4. php artisan passport:install
  5. php artisan serve will run API server on url http://127.0.0.1:8000

Setup the API document and News Feed.

  1. Import API-document.postman_collection.json into Postman (https://www.postman.com)
  2. Setup variable {{baseUrl}} with backend URL http://127.0.0.1:8000
  3. Setup variable {{accessToken}} and store signIn access_token to use it in protected APIs. Like preferences endpoint.
  4. To insert news feed in DB. Execute the API in Postman collection Sync Feed > Get Latest News Feed. Read its documentation and params description carefully.

news-aggregator-app's People

Contributors

krupalpatel92 avatar

Watchers

 avatar

news-aggregator-app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.