https://github.com/moonhighway/balanced-citizen
An app to keep track of what you're doing and if those activities are in balance.
https://github.com/moonhighway/balanced-citizen
Last synced: about 1 year ago
JSON representation
An app to keep track of what you're doing and if those activities are in balance.
- Host: GitHub
- URL: https://github.com/moonhighway/balanced-citizen
- Owner: MoonHighway
- Created: 2023-10-04T17:24:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-06T20:03:41.000Z (over 2 years ago)
- Last Synced: 2025-03-23T11:51:17.928Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://balanced-citizen.vercel.app
- Size: 365 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Balanced Citizen
There are 24 hours in a day. Make the most of them!
With this app, you'll be able to track your productivity with an emphasis on balance in three separate categories:
1. **Workin'**: This is work. You're putting your efforts toward a task that you have to do. Could be paid labor, could be yard work, any type of work.
2. **Strivin'**: This category is for any sort of self-improvement work. Going to the gym. Reading. Studying a new language. Meditation.
3. **Thrivin'**: This category is for fun. If you're at a music festival, you're thrivin'! If you're at a restaurant with your best friend, thrivin' is what you're up to.
## To Test the Deployed App
Head to: [https://balancedcitizen.vercel.app](https://balanced-citizen.vercel.app).
## Running the App
If you'd like to try running the app locally, follow these steps:
1. Clone or download the repo: `https://github.com/moonhighway/balanced-citizen`.
2. Once you're in the repo (`cd balanced-citizen`), install the dependencies: `npm i`.
3. Create a file at the root of the project called `env.local`. Here you'll place your own environment variables. We've already filled in the `NEXT_PUBLIC_CLERK_**` sign in and sign up variables.
```
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
```
4. This project uses Clerk for user authentication. You'll need a (free) Clerk account ([Clerk.com](https://clerk.com/))to retrieve these variables.
5. This project uses Supabase as a database. You'll also need a (free) Supabase account ([Supabase.com](https://supabase.com/)) to grab these variables.
6. Once these are placed in the `env.local` file, run the project with `npm run dev`.
## Known Issues & Things to Make Better
This is a demo app, and there are definitely things to make better!
1. Handle logins and database management for multiple users.
2. Create a data visualization to show the distribution of activities.
3. Better error handling for going over 24 hours in a day.