This is an android only supported application built in react native. It can we used to view status, availability and Location of "Karthick's Clinic". The App consists of 3 entities:
- Visitor -> The person who is going to visit the clinic via online and offline
- Slots -> Its completely hidden in background. It stores the information on which time the clinic is available
- Bookings -> Every visitor can book their desired slot in which they can visit the clinic
- Create firebase account and add a project
- Associate an android app with the project and follow the steps mentioned in firebase website on pasting the google-service.json and linking with gradle files
- Switch to Blaze Plan
- Enable Anonymous authentication
- Enable Firestore database ( choose DB based on your country )
- Enable RealTime database
- Enable Functions and install the dependencies in your project itself as mentioned in firebase website
- login and give access from browser by
firebas login
- initialize application by
firebase init
- accept and install dependencies
- Copy the contents in function/src/index.ts and paste in your project's function
- Copy the contents in function/src/tsconfig.json and paste in your project's function
- Copy the contents in function/src/eslintrc.js and paste in your project's function
- Deploy firebase instance by
firebase deploy
- Once deployed, initialize the data by calling initializeDataBase method (url can be found in firebase functions)
- Install React native and its dependencies. refer here
- Clone the repository and
cd karthicksHealingCentre
- Install in-app dependencies
npx install
- Run the app using the command
npx react-native run-android
- This will run the application