Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`