Sign inSign up

siddhantprateek/filtered

By siddhantprateek

Updated over 2 years ago

📰 Stories that ignite. Insights that inspire.

Image
0

213

siddhantprateek/filtered repository overview

Filtered.

Tech Stack

  • Next.Js
  • Typescript
  • Firebase
  • Newsapi - Link

Setting up locally

  • Clone the Repository
  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

  • Create a new project on the Firebase Console.
  • In the project settings, find and copy the configuration values for the web app.
  • Create a .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
Author

Siddhant Prateek Mahanayak

Tag summary

Content type

Image

Digest

sha256:4aa66351d

Size

1.2 GB

Last updated

over 2 years ago

docker pull siddhantprateek/filtered