.github/workflows | ||
.husky | ||
.storybook | ||
.vscode | ||
apps | ||
auth0 | ||
aws/maybe-app | ||
libs | ||
prisma | ||
tools | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.eslintrc.json | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
babel.config.json | ||
custom-express.d.ts | ||
docker-compose.yml | ||
jest.config.ts | ||
jest.preset.js | ||
LICENSE | ||
nx.json | ||
package.json | ||
README.md | ||
redis.conf | ||
redis.Dockerfile | ||
render.yaml | ||
tsconfig.base.json | ||
vercel.json | ||
workspace.json | ||
yarn.lock |
Maybe: Open-source personal finance app
Get involved: Discord • Website • Issues
🚨 NOTE: This is the original React/Next.js app of the now-defunct personal finance app, Maybe. This original version used many external services (Plaid, Finicity, Auth0, etc) and getting it to fully function will be a decent amount of work.
The README below was what we used internally, so many of the links won't work and the instructions won't necessarily be applicable.
There's a LOT of work to do to get this functioning, but it should be feasible.
Building the app
This is the current state of building the app. You'll hit errors, which we're working to resolve (and certainly welcome PRs to help with that).
cp .env.example .env
yarn install
yarn prisma:migrate:dev
yarn prisma:seed
yarn dev
Relevant reading...
Credit
The original app was built by Zach Gollwitzer and Tim Wilson, with design work by Justin Farrugia. The app is currently maintained by Josh Pigford.
⚠️ Everything below is archived from the original repo and we're slowly working to replace/update it.
Quick Start
System Prerequisites
- Docker (if not using Docker, you will need Node LTS 14.7.x and Postgres 13.x)
- (Optional, highly recommended) - Install the NX Console for using the nx client
Run the app locally
Setup ENV
cp .env.example .env
A working local development .env
file can be found in 1Password under the "Engineering" folder.
With Docker (preferred)
Start server and client apps
yarn install # re-run if it hangs
yarn dev
Migrate DB
In a separate terminal, run the following command. This will connect to the Postgres DB running inside Docker and run all the migrations in /prisma/migrations
.
yarn prisma:migrate:dev
You will also want to seed the database (includes account types and subtypes for categorization).
yarn prisma:seed
Manually
NOTE: Make sure Postgres 13.x is running on your machine
yarn install
nx serve client # Terminal 1
nx serve server # Terminal 2
yarn prisma:migrate && yarn prisma:seed # Terminal 3 - after apps are running
Reference
Authentication
See this wiki page for an explanation of how authentication/authorization works in this codebase.