Skip to content

Latest commit

 

History

History
73 lines (62 loc) · 3.47 KB

README.md

File metadata and controls

73 lines (62 loc) · 3.47 KB

A mindfulness tool that helps users visualize a mental framework for how their motivation affects the emotions (and vice versa).

What problem does this solve?

This tool prevents your emotions from getting in the way of your goals through self-awareness. Here's an example:

In University, I was procrastinating studying for a test I had the following day. When I could not put it off any longer and started to study, I realized that I vastly underestimated how much studying I needed to do.

That put me into the following anxiety death-spiral:



This went on for hours without any studying being accomplished until I just gave up and decided to got to sleep and accept whatever grade I got. That caused me evaluate all the ways my emotions can effect the way I pursue my goals, which caused me to create a framework for understanding this so that scenerio never happens again. That framework is called the Motivation Scale!

The framework was helpful, but it was difficult to keep track of all my goals and their correlation to my mood, so I created this tool to do that.

Here is a guide to use this tool.

Tech Stack

Global Website Server Mobile

Architecture Diagram

image

Local Setup

Clone the repo

git clone https://github.com/abdullahmorrison/motivation-scale.git

Server

Navigate to the /server directory and install dependencies

npm install

Create a .env file and add the following to it

DB_NAME=test
DB_CONNECTION=
CLIENT_WHITELIST=http://localhost:3000
JWT_SECRET=test

Request the DB_CONNECTION string from @abdullahmorrison and add it after DB_CONNECTION=

run npm start to start the local server

Website

Navigate to the /website directory and install dependencies

npm install

Create a .env file and add the following to it

NEXT_PUBLIC_SERVER_URL=http://localhost:3001

run npm run dev to run the website

Mobile

Navigate to the /mobile directory and install dependencies

npm install