Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dastanozgeldi/jazbahana
:sparkles: create-t3-app rewrite of jazbahana with new design and backend structure
https://github.com/dastanozgeldi/jazbahana
nextjs postgresql t3
Last synced: 14 days ago
JSON representation
:sparkles: create-t3-app rewrite of jazbahana with new design and backend structure
- Host: GitHub
- URL: https://github.com/dastanozgeldi/jazbahana
- Owner: dastanozgeldi
- Created: 2022-08-29T07:49:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T01:46:09.000Z (over 1 year ago)
- Last Synced: 2024-10-17T07:13:12.542Z (30 days ago)
- Topics: nextjs, postgresql, t3
- Language: TypeScript
- Homepage:
- Size: 981 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jazbahana
~ a note-trader app created to help students all around the world.
bootstrapped via [create-t3-app](https://create.t3.gg)## Running Locally
this setup requires [Docker](https://docker.com) to be installed as it uses docker-compose to run `PostgreSQL`.
### Environment Variables
create an `.env` file and fill those in.
```sh
# Prisma
DATABASE_URL="postgresql://postgres:@localhost:5932/jazbahana"
PGPASSWORD="postgres"# Next Auth
NEXTAUTH_SECRET=""
NEXTAUTH_URL="http://localhost:3000"# Next Auth Google Provider
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
```### Yarn
```sh
yarn # installs dependencies from package.json
yarn dx # boots up postgres, runs migration, seed file and finally next server.
```^ note that you don't always need to run `yarn dx`. After run once, you can simply start the server via `yarn dev`