A scheduling and timekeeping app that creates meaningful matches between people with disabilities and support workers
You can check out the project here
The project has 2 main folders:
Run npm install in both folders to install the dependencies.
To start both servers:
npm start
in the client folder
npm run dev
in the backend folder
Person with disability dashboard (Family dashboard)
Support worker dashboard
Admin dashboard
This project was bootstrapped with Create React App.
create a postgres database. At the terminal, type the following:
createdb database_name -O username
replace database_name with your database name and username with your own user.
create a .env
file with your database settings. Look at .env.example for usage.
Modify the sql scripts under db/schema/
to create the tables and seed the data.
run npm run reset
that will run the reset scripts in package.json to reset the database. Modify the reset script in package.json accordingly:
"scripts": {
"start": "node ./bin/www",
"dev": "nodemon ./bin/www",
"reset": "psql -U labber -d final_project < ./db/schema/create.sql && psql -U labber -d final_project < ./db/schema/seed.sql"
},
replace labber
with your own username and final_project
with your database name
currently, the users route is setup with a get and a post as examples. Modify it according to your needs and/or create additional route files.
hooks/useApplicationData.js
contains the state.useEffect
with an axios request is adding the users in the state. Modify the initial state and the useEffect according to your needs.