- Vaccine Slot Checker
- Real-time data
- Typescript Support
- PWA Support
To install Spot-My-Vaccine, follow these steps:
Download Repo:
git clone https://github.com/JithinAntony4/Spot-My-Vaccine your-project-name
Install Dependencies:
npm install
# or
yarn install
Add Firebase to your web app:
Goto Firebase Console -> Project Settings -> General -> your apps
, Click Add App
and download the config which will used in this project.
Download Firebase Admin SDK Config:
Goto Firebase Console -> Project Settings -> Service accounts -> Firebase Admin SDK
Click Generate new private key, then copy that values and paste into .env
Create & Configure .env
:
NODE_ENV=[production||development]
TOKEN_SECRET=your_secret_key (which will used for encryt sessions)
AUTH_COOKIE_TOKEN_NAME=cookie_name
AUTH_COOKIE_TOKEN_AGE=28800(in mileseconds)
# use the values from firebase-config.json
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=0123456789
NEXT_PUBLIC_FIREBASE_APP_ID=0123456789
NEXT_PUBLIC_FIREBASE_MESUREMENT_ID=0123456789
PRIVATE_FIREBASE_TYPE=place_your_value
FIREBASE_PRIVATE_KEY_ID=place_your_value
FIREBASE_PRIVATE_KEY=place_your_value
PRIVATE_FIREBASE_CLIENT_EMAIL=place_your_value
PRIVATE_FIREBASE_CLIENT_ID=place_your_value
PRIVATE_FIREBASE_AUTH_URI=place_your_value
PRIVATE_FIREBASE_TOKEN_URI=place_your_value
PRIVATE_FIREBASE_AUTH_PROVIDER_x509_CERT_URL=place_your_value
PRIVATE_FIREBASE_CLIENT_x509_CERT_URL=place_your_value
GOOGLE_AUTH_CLIENT_ID=your_google_auth_client_id (from GCP Console)
API_SECRET_KEY=your_secret_key
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
To contribute to Spot-My-Vaccine, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <project_name>/<location>
- Create the pull request.
Alternatively see the GitHub documentation on creating a pull request.
This project is licensed under the MIT license, Copyright (c) 2021 Jithin Antony. For more information see LICENSE.md.