This is a news web application built using Firebase for authentication, Firestore for database storage, and offline support for enhanced user experience.
The app uses Firebase Authentication to manage user sign-up, sign-in, and authentication processes. Users can create accounts, sign in securely, and access personalized features.
The app retrieves news articles from the News API and displays them in an organized manner, allowing users to view the latest news based on various categories or search criteria.
Firestore is utilized as the database to store news articles fetched from the News API. It enables real-time data synchronization and seamless offline support.
With Firebase's offline persistence feature, users can access previously fetched news articles even when they are offline. This feature enhances user experience by ensuring continuous access to previously viewed content.
With redux state management, user is able to add favourites and remove it
-
Firebase Configuration
- Set up a Firebase project and configure authentication settings.
- Obtain Firebase configuration credentials and update them in the project.
-
Install Dependencies
- Run
npm install
to install all necessary dependencies required for the project.
- Run
-
Environment Variables
- Set environment variables for API keys, such as the News API key.
- Next.js: Frontend framework for building the user interface.
- Firebase: Backend services for authentication, database, and offline support.
- News API: External API used to fetch news articles.
- Redux: State Management purpose
- Clone the repository.
- Install dependencies using
npm install
. - Configure Firebase credentials.
- Run the application using
npm run dev
.