Mental health resource application
This application's tech stack includes React, Express, PostgreSQL, CSS/SASS, and HTML
mindfull is a simple, yet powerful mental health resource application that allows users to find resources based on how they are feeling in the moment and to help overcome these obstacles.
** This is a demo build, which is currently only optimized for mobile viewing **
Full-stack application created by Justin Anderson (@janderson1924), Luke Bergmann (@lukebergmann), and Caden Choi (@cadenkchoi).
- Any visitor has access to
- Resources on resource pages
- BetterHelp for counselling
- GoodNewsNetwork for inspiring news and articles
- Meditation feature
- Registered users also have access to
- Profile page
- Favouriting/unfavouriting resources
- Journalling wall where you can post notes and quotes
Top Left: Landing Page, Top Right: Moods and Resources Page, Bottom Left: Profile Page, Bottom Right: Meditation Page
- Clone or download the respository
git clone https://github.com/cadenkchoi/Mindfull.git
- Navigate to the project directory and install dependencies for both React and Express
cd Mindfull/react-front-end
npm install
cd Mindfull/express-back-end
npm install
- Run reset on PostgreSQL database in Express and seed files
cd Mindfull/express-back-end
psql \i migrations/1_schema.sql
\i seeds/1_seeds.sql
- Click this link to temporarily unlock access to this demo build
https://cors-anywhere.herokuapp.com/corsdemo
- Open two terminal windows and launch both React and Express Servers
cd Mindfull/react-front-end
npm start
cd Mindfull/express-back-end
npm start
- Visit
http://localhost:3000/
in browser (change from port 3000 in url if react asks)
Tip for Setting up Server
Set proxy for React project to localhost:8080
in the package.json
file, so the Express app listens to port 8080 in server.js
.
Front-End
- React
- React-router-dom
- Axios
- Date-fns
- Node-sass
- Rss-parser
- Font Awesome
- Material UI
Back-End
- Express
- Body-parser
- Cors
- Dotenv
- Http-proxy-middleware
- PostgreSQL
- Nodemon
Boilerplate credit goes to @NimaBoscarino's React Rails Boilerplate. It uses the same React app, but replaces the Rails server with an Express server.