My Family was inspired by my fiancé Lien Tran. She is the organizer in our family and whenever I ask anything that relate to important documents, she would go through her folders to get it. I want to make something that make it easier for her and this app came to mind.
- To run this application, the user should fork the repository onto their own GitHub account. In the user's repository, the user should copy the link and clone the repository onto their local system. Navigate to the repository folder using the terminal and run command line
npm install
$ cd ../my-family
$ npm install
-
Create a .env file in the repository folder and insert in the following lines with the placeholder variables.
SERVER_SESSION_SECRET="
strongPassword
"Replace
strongPassword
with a strong password of the user's choice or use https://passwordsgenerator.net/ to generate a password to replace it with.
- Create a local postgreSQL database called
prime_app
with Postico using the command lines from the database.sql file. Using different database systems may require the user to alter or add additional command lines to reflect the example database provided.
-
To start up the application, enter in the terminal the npm command lines of:
npm run server
npm run client
The server should be running on
http://localhost:5000
whereas the client should be onhttp://localhost:3000
. Both the server and the client is required to be up and running for the application to run successfully.
Once the application is up and running, the user should be redirected to the browser with the application loaded. If not, open up a browser and enter in the url:
http://localhost:3000
Users of this application will be able to add in their family members and then for each member they can add in their personal document, appointment, or keep track of their body growth.
-
First View of Family Member:
- This have a table or a chart when user put in the information about family member height, weight, date.
- This here can mainly be use by caregiver that want to keep track of a child growth.
- Or as an adult you want to keep track of your body measurements.
- User can add, edit, and delete the information user put in.
-
Appointment View:
- User can see a table with appointments that related to that family member.
- User can add, edit, and delete the appointment.
-
Document View:
- User can upload, download, and delete document relate to the family member.
Author
Ken Dang