Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psygo/magi
A 2D Reddit?
https://github.com/psygo/magi
graph index
Last synced: 4 days ago
JSON representation
A 2D Reddit?
- Host: GitHub
- URL: https://github.com/psygo/magi
- Owner: psygo
- Created: 2024-04-15T13:16:42.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T17:33:35.000Z (7 months ago)
- Last Synced: 2024-12-22T13:11:43.254Z (11 days ago)
- Topics: graph, index
- Language: TypeScript
- Homepage: https://magi-phi.vercel.app
- Size: 426 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Magnus Index
## Services Used
- [Vercel](https://vercel.com) for handling deployment.
- [Vercel Postgres](https://vercel.com/docs/storage/vercel-postgres) for handling the DB.
- [UploadThing](https://uploadthing.com) for image or file upload.
- [Drizzle](https://orm.drizzle.team) for ORM.
- [Clerk](https://clerk.com) for authentication.
- [PostHog](https://posthog.com) for analytics.
- [Sentry](https://sentry.io) for error monitoring.## Dev
This project has been set up with the [`create-t3-app`](https://create.t3.gg/) script.
### Deployment
Besides pushing things to Vercel and setting up the environment variables, you will need to manually do:
```sh
pnpm run db:push
```### Env
Locally, you can set things up with:
```env
#-----------------------------------------------------------
# 1. DBPOSTGRES_URL=postgresql://phili:password@localhost:5432/postgres?search_path=public
#-----------------------------------------------------------
# 2. ClerkNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=CLERK_WEBHOOKS_USER_EVENTS=
#-----------------------------------------------------------
```### Using Ngrok for Local Development
Expose your local host to the web:
```sh
ngrok http http://localhost:3000
```