Skip to content

Commit

Permalink
Updated project name
Browse files Browse the repository at this point in the history
Signed-off-by: Aman Dwivedi <[email protected]>
  • Loading branch information
Aman-Codes committed Feb 1, 2021
1 parent 0168684 commit dce5b56
Show file tree
Hide file tree
Showing 8 changed files with 97 additions and 56 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/node_modules
.DS_Store

/coverage
/coverage
.env
69 changes: 55 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# MEDBUDDY
[![Code Quality Score](https://www.code-inspector.com/project/17537/score/svg)](https://www.code-inspector.com/project/17537/score/svg)
[![Code Quality Grade](https://www.code-inspector.com/project/17537/status/svg)](https://www.code-inspector.com/project/17537/status/svg)
[![Code Quality Score](https://www.code-inspector.com/project/18491/score/svg)](https://www.code-inspector.com/project/18491/score/svg)
[![Code Quality Grade](https://www.code-inspector.com/project/18491/status/svg)](https://www.code-inspector.com/project/18491/status/svg)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
![MIT](https://img.shields.io/github/license/Aman-Codes/HospitalWebsite?color=blue)
![MIT](https://img.shields.io/github/license/Aman-Codes/MedBuddy?color=blue)


It is a website which connects doctors, patients and services like ambulance provider. <br/>
Expand All @@ -11,41 +11,82 @@ Doctor on the other hand can accept/reject the appointment, view all his current

## Visit Online

This website is hosted at [https://hospital-help.herokuapp.com/](https://hospital-help.herokuapp.com/)
This website is hosted at [https://medicalbuddy.herokuapp.com/](https://medicalbuddy.herokuapp.com/)

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

Your machine should have NPM(or yarn), NodeJS and MongoDB installed(or else you can use mongodb atlas) to use it locally.
Your machine should have NPM(or yarn), NodeJS and MongoDB installed to use it locally.

### Installation
## Setup and Installation

### Setting up the repository locally

1. First fork the repo to your account.
Go to the forked repo and clone it to your local machine:

```
git clone https://github.com/Aman-Codes/HospitalWebsite
git clone https://github.com/<your_username>/MedBuddy.git
```

This will make a copy of the code to your local machine.

2. Now move to the `MedBuddy` directory.

```
cd HospitalWebsite
npm install
cd MedBuddy
```
**Change the credentials in .env.example and rename it as .env**

### Run locally
3. Now check the remote of your local code by:

```
git remote -v
```

The response should look like:

```
origin https://github.com/<username>/MedBuddy.git (fetch)
origin https://github.com/<username>/MedBuddy.git (push)
```

To add upstream to remote, run:

```
npm start
git remote add upstream https://github.com/Aman-Codes/MedBuddy.git
```

Again run `git remote -v`, the response should look like:

```
origin https://github.com/<username>/MedBuddy.git (fetch)
origin https://github.com/<username>/MedBuddy.git (push)
upstream https://github.com/Aman-Codes/MedBuddy (fetch)
upstream https://github.com/Aman-Codes/MedBuddy (push)
```

4. Once the remote is set, install all the necessary dependencies by the following command:

```
npm install
```
### Run locally

Run the below command to start the server:

```
npm run dev
```
Go to: [http://localhost:4000](http://localhost:4000)

### Contributing

We really like contributions in several forms, see [CONTRIBUTING.md](https://github.com/Aman-Codes/HospitalWebsite/blob/master/docs/CONTRIBUTING.md) and [CODE_OF_CONDUCT.md](https://github.com/Aman-Codes/HospitalWebsite/blob/master/docs/CODE_OF_CONDUCT.md)
We really like contributions in several forms, see [CONTRIBUTING.md](https://github.com/Aman-Codes/MedBuddy/blob/master/docs/CONTRIBUTING.md) and [CODE_OF_CONDUCT.md](https://github.com/Aman-Codes/MedBuddy/blob/master/docs/CODE_OF_CONDUCT.md)

### User Documentation

For complete user documentation refer [UserDocumentation.md](https://github.com/Aman-Codes/HospitalWebsite/blob/master/docs/UserDocumentation.md)
For complete user documentation refer [UserDocumentation.md](https://github.com/Aman-Codes/MedBuddy/blob/master/docs/UserDocumentation.md)

32 changes: 16 additions & 16 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ We love your input! We want to make contributing to this project as easy and tra

### 1. Fork it :fork_and_knife:

You can get your own fork/copy of [HospitalWebsite](https://github.com/Aman-Codes/HospitalWebsite) by using the <kbd><b>Fork</b></kbd></a> button.
You can get your own fork/copy of [MedBuddy](https://github.com/Aman-Codes/MedBuddy) by using the <kbd><b>Fork</b></kbd></a> button.

[![Fork Button](https://help.github.com/assets/images/help/repository/fork_button.jpg)](https://github.com/Aman-Codes/HospitalWebsite)
[![Fork Button](https://help.github.com/assets/images/help/repository/fork_button.jpg)](https://github.com/Aman-Codes/MedBuddy)

### 2. Clone it :busts_in_silhouette:

You need to clone (download) it to local machine using

```sh
git clone https://github.com/Your_Username/HospitalWebsite.git
git clone https://github.com/Your_Username/MedBuddy.git
```

> This makes a local copy of repository in your machine.
Once you have cloned the `HospitalWebsite` repository in GitHub, move to that folder first using change directory command.
Once you have cloned the `MedBuddy` repository in GitHub, move to that folder first using change directory command.

```sh
# This will change directory to a folder HospitalWebsite
cd HospitalWebsite
# This will change directory to a folder MedBuddy
cd MedBuddy
```

Move to this folder for all other commands.
Expand All @@ -42,14 +42,14 @@ Run the following commands to see that _your local copy_ has a reference to _you

```sh
git remote -v
origin https://github.com/Your_Username/HospitalWebsite.git (fetch)
origin https://github.com/Your_Username/HospitalWebsite.git (push)
origin https://github.com/Your_Username/MedBuddy.git (fetch)
origin https://github.com/Your_Username/MedBuddy.git (push)
```

Now, add a reference to the original [HospitalWebsite](https://github.com/Aman-Codes/HospitalWebsite) repository using
Now, add a reference to the original [MedBuddy](https://github.com/Aman-Codes/MedBuddy) repository using

```sh
git remote add upstream https://github.com/Aman-Codes/HospitalWebsite.git
git remote add upstream https://github.com/Aman-Codes/MedBuddy.git
```

> This adds a new remote named **_upstream_**.
Expand All @@ -58,10 +58,10 @@ See the changes using

```sh
git remote -v
origin https://github.com/Your_Username/HospitalWebsite.git (fetch)
origin https://github.com/Your_Username/HospitalWebsite.git (push)
upstream https://github.com/Aman-Codes/HospitalWebsite.git (fetch)
upstream https://github.com/Aman-Codes/HospitalWebsite.git (push)
origin https://github.com/Your_Username/MedBuddy.git (fetch)
origin https://github.com/Your_Username/MedBuddy.git (push)
upstream https://github.com/Aman-Codes/MedBuddy.git (fetch)
upstream https://github.com/Aman-Codes/MedBuddy.git (push)
```

### 4. Sync it :recycle:
Expand All @@ -79,13 +79,13 @@ git checkout master
# Reset local `master` branch to match `upstream` repository's `master` branch
git reset --hard upstream/master

# Push changes to your forked `HospitalWebsite` repo
# Push changes to your forked `MedBuddy` repo
git push origin master
```

### 5. Ready Steady Go... :turtle: :rabbit2:

Once you have completed these steps, you are ready to start contributing by checking our `Help Wanted` Issues and creating [pull requests](https://github.com/Aman-Codes/HospitalWebsite/pulls).
Once you have completed these steps, you are ready to start contributing by checking our `Help Wanted` Issues and creating [pull requests](https://github.com/Aman-Codes/MedBuddy/pulls).

### 6. Create a new branch :bangbang:

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "hospitalwebsite",
"name": "medbuddy",
"version": "1.0.0",
"description": "Hospital Website",
"main": "app.js",
"description": "A website which connects doctors, patients and services like ambulance provider",
"main": "server.js",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js",
Expand Down
2 changes: 1 addition & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Sitemap: https://hospital-help.herokuapp.com//sitemap.xml
Sitemap: https://medicalbuddy.herokuapp.com/sitemap.xml
User-agent: *
Disallow: /
30 changes: 15 additions & 15 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,77 +8,77 @@


<url>
<loc>https://hospital-help.herokuapp.com/</loc>
<loc>https://medicalbuddy.herokuapp.com/</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/about</loc>
<loc>https://medicalbuddy.herokuapp.com/about</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/patientregistration</loc>
<loc>https://medicalbuddy.herokuapp.com/patientregistration</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/patientlogin</loc>
<loc>https://medicalbuddy.herokuapp.com/patientlogin</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/doctorregistration</loc>
<loc>https://medicalbuddy.herokuapp.com/doctorregistration</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/doctorlogin</loc>
<loc>https://medicalbuddy.herokuapp.com/doctorlogin</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/ambulanceregistration</loc>
<loc>https://medicalbuddy.herokuapp.com/ambulanceregistration</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/ambulancelogin</loc>
<loc>https://medicalbuddy.herokuapp.com/ambulancelogin</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/faq</loc>
<loc>https://medicalbuddy.herokuapp.com/faq</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/services</loc>
<loc>https://medicalbuddy.herokuapp.com/services</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/gallery</loc>
<loc>https://medicalbuddy.herokuapp.com/gallery</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/news</loc>
<loc>https://medicalbuddy.herokuapp.com/news</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/view2</loc>
<loc>https://medicalbuddy.herokuapp.com/view2</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/terms</loc>
<loc>https://medicalbuddy.herokuapp.com/terms</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hospital-help.herokuapp.com/privacypolicy</loc>
<loc>https://medicalbuddy.herokuapp.com/privacypolicy</loc>
<lastmod>2021-01-01T07:01:08+00:00</lastmod>
<priority>0.80</priority>
</url>
Expand Down
8 changes: 4 additions & 4 deletions views/partial/title.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@

<!-- FaceBook Meta Data -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://hospital-help.herokuapp.com/">
<meta property="og:url" content="https://medicalbuddy.herokuapp.com/">
<meta property="og:title" content="MedBuddy">
<meta property="og:image" content="https://hospital-help.herokuapp.com/assets/images/icon.JPEG">
<meta property="og:image" content="https://medicalbuddy.herokuapp.com/assets/images/icon.JPEG">
<meta property="og:description" content="A website which connects doctors, patients and services like ambulance provide">
<meta property="og:site_name" content="MedBuddy">
<meta property="og:locale" content="en_US">
Expand All @@ -60,10 +60,10 @@
<meta name="twitter:card" content="A website which connects doctors, patients and services like ambulance provide">
<meta name="twitter:site" content="@site_account">
<meta name="twitter:creator" content="@individual_account">
<meta name="twitter:url" content="https://hospital-help.herokuapp.com/">
<meta name="twitter:url" content="https://medicalbuddy.herokuapp.com/">
<meta name="twitter:title" content="MedBuddy">
<meta name="twitter:description" content="A website which connects doctors, patients and services like ambulance provide">
<meta name="twitter:image" content="https://hospital-help.herokuapp.com/assets/images/icon.JPEG">
<meta name="twitter:image" content="https://medicalbuddy.herokuapp.com/assets/images/icon.JPEG">

<!-- CORS Policy -->
<meta http-equiv="Content-Security-Policy" content="img-src 'self' data: *; default-src *; style-src 'self' http://* 'unsafe-inline'; script-src 'self' http://* 'unsafe-inline' 'unsafe-eval'" />

0 comments on commit dce5b56

Please sign in to comment.