Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add README.md #77

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 131 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<p align="center">
<h1 align="center">CareHelper 🏥</h1>
</a>
</p>

<p align="center">
<img src="https://i.ibb.co/SP4LCzP/care-helper-logo.png" alt="ava" border="0" width="300px">
</p>
<!-- Here is app icon placeholder -->

> CareHelper - A platform for patients and for doctors that helps the communication process between them more convenient during long-term examinations.

This project will join [GDSC Solution Challenge 2024](https://developers.google.com/community/gdsc-solution-challenge).

## Technology used ✨

- [Flutter & Dart](https://flutter.dev/)
- [React.js](https://reactjs.org/)
- [Firebase](https://firebase.google.com/)
- [NodeJs](https://nodejs.org/en)

</details>

## Setup and run

<details>
<summary>Click to expand</summary>
<br>
<h3>Clone the repo</h3>

```sh
git clone https://github.com/dscdut/care-helper
```

<h3>Backend</h3>

1. Prerequisites

- Install node
<https://nodejs.org/en/download/>

- Install yarn

```sh
npm install --global yarn
```

2. Install NPM packages

```sh
cd backend
# run database migrations and seeds
npm run db:reset
yarn install
```

3. Run the development server:

```bash
yarn start
```

4. Open [http://localhost:3000](http://localhost:3000).

<h3>Mobile</h3>

1. Change directory:

```bash
cd ..
cd mobile
```

2. Get the dependencies:

```bash
flutter pub get
```

3. Start build APK release file:

```bash
flutter build apk --release -t lib/main_staging.dart --flavor=staging
```

<!-- - Download APK
- [APK - arm64](https://drive.google.com/file/d/1r5BxLCoTn2JqQuEjAtoUxmZeSHIByEKa/view?usp=sharing)
- Setup and run
- Flutter
- Install [Flutter](https://flutter.dev/docs/get-started/install).
- Using **`stable`** channel:
```bash
❯ flutter channel stable
❯ flutter upgrade
```
- Flutter doctor:
```bash
❯ flutter doctor
```
- Install all the packages by:
```bash
❯ flutter pub get
```
- Create .env file `assets/.env` has following structure:
```bash
BASE_URL=https://api.smartfood.cooking/api
```
- Run app on real devices or emulator by:
```bash
❯ flutter run
```
or debug mode in VSCode or some IDEs -->
<h3>Frontend</h3>

1. Install dependencies

```sh
cd frontend
# run database migrations and seeds
npm run install
```

2. Run the development server:

```bash
npm run dev
```

3. Open the running port

</details>
Loading