-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ft(onBoarding): squash commit messages
- Loading branch information
1 parent
d89063b
commit f526e3a
Showing
50 changed files
with
20,720 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Pull Request Trigger Workflow | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '>=18' | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Run tests | ||
run: npm run test -- --ci | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Push Trigger Workflow | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '>=18' | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Run tests | ||
run: npm run test -- --ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# Expo | ||
.expo/ | ||
dist/ | ||
web-build/ | ||
|
||
# Native | ||
*.orig.* | ||
*.jks | ||
*.p8 | ||
*.p12 | ||
*.key | ||
*.mobileprovision | ||
|
||
# Metro | ||
.metro-health-check* | ||
|
||
# debug | ||
npm-debug.* | ||
yarn-debug.* | ||
yarn-error.* | ||
|
||
# macOS | ||
.DS_Store | ||
*.pem | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
|
||
# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb | ||
# The following patterns were generated by expo-cli | ||
|
||
expo-env.d.ts | ||
# @end expo-cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,97 @@ | ||
# matadors-rn-medica | ||
# Medica App | ||
|
||
Online Doctor Appointment & Consultation App | ||
|
||
## Table Of Content | ||
|
||
- [Description](#description) | ||
|
||
- [Documentation](#documentation) | ||
- [Setup](#setup) | ||
- [Testing](#testing) | ||
- [Contribute](#contribute) | ||
- [Contact](#contact) | ||
- [License](#license) | ||
|
||
|
||
## Description | ||
|
||
Medica is a mobile application designed to facilitate online doctor appointments and consultations. Users can create an account, log in, browse through various doctor specialties, schedule appointments, and communicate with healthcare professionals through voice calls, video calls, or messaging. The app also supports different payment methods for appointment fees, provides access to healthcare articles, allows profile management, and offers a help center for user support. | ||
|
||
## Overview; | ||
None at the moment!! | ||
|
||
## Documentation | ||
|
||
### Endpoints | ||
|
||
- `/signup`: User signup endpoint | ||
- `/login`: User login endpoint | ||
- `/ForgotPassword`: Ask for password Retrieval or reset if forgot | ||
- `/ResetPassword`: Access to Changing the users Password | ||
- `/Home`: List of available doctor specialties | ||
- `/search`: Search for doctors across all specialties | ||
- `/appointments`: Schedule and manage appointments | ||
- `/communication`: Choose communication mode (voice call, video call, messaging) | ||
- `/payment`: Select and process payment for appointments | ||
- `/articles`: Access and interact with healthcare articles | ||
- `/profile`: Manage user profile | ||
- `/help`: Contact the help center | ||
|
||
|
||
## Setup | ||
|
||
### Dependencies | ||
|
||
- Node.js | ||
- React Native | ||
- Expo (for mobile app development) | ||
|
||
### Getting Started | ||
|
||
1. Clone the repository: | ||
git clone https://github.com/atlp-rwanda/matadors-rn-medica.git | ||
|
||
2. Navigate to the project directory: | ||
|
||
3. Install dependencies: | ||
```bash | ||
npm install | ||
``` | ||
5. Set up environment variables: | ||
- Create a `.env` file based on `.env.example` and fill in necessary values. | ||
|
||
### Run The Service | ||
|
||
1. Start the Expo development server: | ||
```bash | ||
npm start | ||
``` | ||
2. Use the Expo client on your mobile device or simulator to run the app. | ||
|
||
## Testing | ||
|
||
To run tests, use the following command: | ||
```bash | ||
npm test | ||
``` | ||
## Contribute | ||
|
||
Contributions are welcome! To contribute to this repository, please follow these steps: | ||
1. Fork the repository. | ||
2. Create a new branch (`git checkout -b feature/my-feature`). | ||
3. Commit your changes (`git commit -am 'Add new feature'`). | ||
4. Push to the branch (`git push origin feature/my-feature`). | ||
5. Create a new Pull Request. | ||
|
||
|
||
## Contact | ||
|
||
Feel free to reach out to us: | ||
[Nkbtemmy](https://github.com/Nkbtemmy) | ||
[mukunzidd](https://github.com/mukunzidd) | ||
|
||
## License | ||
|
||
None At the moment !! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"expo": { | ||
"name": "matadors-rn-medica", | ||
"slug": "matadors-rn-medica", | ||
"scheme": "matadors-rn-medica", | ||
"version": "1.0.0", | ||
"orientation": "portrait", | ||
"icon": "./assets/images/icon.png", | ||
"userInterfaceStyle": "light", | ||
|
||
"splash": { | ||
"image": "./assets/images/splash.png", | ||
"resizeMode": "contain", | ||
"backgroundColor": "#ffffff" | ||
}, | ||
"assetBundlePatterns": ["**/*"], | ||
"ios": { | ||
"supportsTablet": true, | ||
"config": { | ||
"usesNonExemptEncryption": false | ||
} | ||
}, | ||
"android": { | ||
"adaptiveIcon": { | ||
"foregroundImage": "./assets/images/adaptive-icon.png", | ||
"backgroundColor": "#ffffff" | ||
} | ||
}, | ||
"web": { | ||
"bundler": "metro", | ||
"output": "static", | ||
"favicon": "./assets/images/favicon.png" | ||
}, | ||
"plugins": ["expo-router", "expo-secure-store"], | ||
"experiments": { | ||
"typedRoutes": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
interface Props {} | ||
|
||
export default function HomeScreen({}: Props) { | ||
return <></>; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Text, View } from "@/components/Themed"; | ||
import { LeftArrow } from "@/components/UI/icons"; | ||
import { ThemeContext } from "@/ctx/ThemeContext"; | ||
import { useContext, useEffect } from "react"; | ||
import { SvgUri, SvgXml } from "react-native-svg"; | ||
|
||
export default function SetYourFingerPrint() { | ||
const { theme, changeTheme } = useContext(ThemeContext); | ||
|
||
return ( | ||
<> | ||
<Text>Set Your Finger Print</Text> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import Header from "@/components/UI/Header"; | ||
import { Stack } from "expo-router"; | ||
|
||
export default function AuthLayout() { | ||
return ( | ||
<Stack initialRouteName="SignIn&SignOut/SetYourFingerPrint"> | ||
<Stack.Screen | ||
name="SignIn&SignOut/SetYourFingerPrint" | ||
options={{ | ||
header: () => { | ||
return <Header />; | ||
}, | ||
}} | ||
/> | ||
</Stack> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { ScrollViewStyleReset } from 'expo-router/html'; | ||
|
||
// This file is web-only and used to configure the root HTML for every | ||
// web page during static rendering. | ||
// The contents of this function only run in Node.js environments and | ||
// do not have access to the DOM or browser APIs. | ||
export default function Root({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<html lang="en"> | ||
<head> | ||
<meta charSet="utf-8" /> | ||
<meta httpEquiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | ||
|
||
{/* | ||
Disable body scrolling on web. This makes ScrollView components work closer to how they do on native. | ||
However, body scrolling is often nice to have for mobile web. If you want to enable it, remove this line. | ||
*/} | ||
<ScrollViewStyleReset /> | ||
|
||
{/* Using raw CSS styles as an escape-hatch to ensure the background color never flickers in dark-mode. */} | ||
<style dangerouslySetInnerHTML={{ __html: responsiveBackground }} /> | ||
{/* Add any additional <head> elements that you want globally available on web... */} | ||
</head> | ||
<body>{children}</body> | ||
</html> | ||
); | ||
} | ||
|
||
const responsiveBackground = ` | ||
body { | ||
background-color: #fff; | ||
} | ||
@media (prefers-color-scheme: dark) { | ||
body { | ||
background-color: #000; | ||
} | ||
}`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { Link, Stack } from 'expo-router'; | ||
import { StyleSheet } from 'react-native'; | ||
|
||
import { Text, View } from '@/components/Themed'; | ||
|
||
export default function NotFoundScreen() { | ||
return ( | ||
<> | ||
<Stack.Screen options={{ title: 'Oops!' }} /> | ||
<View style={styles.container}> | ||
<Text style={styles.title}>This screen doesn't exist.</Text> | ||
|
||
<Link href="/" style={styles.link}> | ||
<Text style={styles.linkText}>Go to home screen!</Text> | ||
</Link> | ||
</View> | ||
</> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
padding: 20, | ||
}, | ||
title: { | ||
fontSize: 20, | ||
fontWeight: 'bold', | ||
}, | ||
link: { | ||
marginTop: 15, | ||
paddingVertical: 15, | ||
}, | ||
linkText: { | ||
fontSize: 14, | ||
color: '#2e78b7', | ||
}, | ||
}); |
Oops, something went wrong.