Senior-well / senior-care

MIT License
1 stars 2 forks source link

What is a Senior Care app?

An app to support elder with their blood clotting, high blood pressure


Required Node >= 14.0

Check the version on cmd or vs code terminal

node -v


How to start?

git clone https://github.com/Senior-well/senior-care.git

Then

cd senior-care

And

npm install
npm run dev


Want to make it into your own repository?

forking

Then go to your repository like the image below to copy the link

Forking repository

Created a new folder and open it in VsCode then in the terminal do:

git clone https://github.com/'YourGithubName'/senior-care.git
cd senior-care
npm install

How to connect to the remote origin branch in Senior Care?

git remote add upstream https://github.com/Senior-well/senior-care.git 

Retrieve all the branches from the Senior Care

git fetch upstream
git checkout remotes/origin/'branchname'
npm run dev


How to serve a static producution build of web application on a local or remote server?

npm run build
serve -s build


How to run php application?

Installation:

https://www.php.net/downloads.php

Set Path in Edit environment variables for your account on computer:

Open cmd or git bash and do:

php -v /*For checking the version if it availables*/
cd senior-care/src/backend/database /*Redirect to database folder*/
php -S localhost:8010

Require to run to application at the same time which are:

`npm run dev` and `php -S localhost:8010`

to connect between front-end and back-end server

Good luck! 😎

Noted:

Remember to do Pull Request(PR) for reviewing before commit into the main branch


PR can be perform by:


Step 0: Make a new branch

git checkout -b branchName

Step 1: Checking modified file

git status

Step 2: Add modified files

git add filename

Step 3: Commit time baby!

git commit -m 'commit message'

Step 4: Push it up

git push origin -u branchName

Tips:

npm install --savedev