📰 Stories that ignite. Insights that inspire.
213

Next.JsTypescriptFirebaseNewsapi - Link git clone https://github.com/siddhantprateek/filtered.git
cd filtered # Navigate to the Project Directory
Install Dependencies
npm install
# or
bun install
Set Up Firebase environment variable
.env.local file in the project root and add the following:NEXT_PUBLIC_FIREBASE_API_KEY=your-api-key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-auth-domain.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-storage-bucket.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id
NEXT_PUBLIC_FIREBASE_APP_ID=your-app-id
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=your-measurement-id
NEXT_PUBLIC_NEWS_APIKEY= # Set Up News API Key
Run the Development Server:
docker pull siddhantprateek/filtered:latest
docker run -d -p 4001:3000 \
-e NEXT_PUBLIC_FIREBASE_API_KEY=<firebase-api-key> \
-e NEXT_PUBLIC_FIREBASE_APP_ID=<firebase-app-id> \
-e NEXT_PUBLIC_NEWS_APIKEY=<news-api-key> \
siddhantprateek/filtered:latest
Content type
Image
Digest
sha256:4aa66351d…
Size
1.2 GB
Last updated
over 2 years ago
docker pull siddhantprateek/filtered