{"id":19286888,"url":"https://github.com/joaomlneto/jitaspace","last_synced_at":"2026-05-06T13:33:13.462Z","repository":{"id":247108271,"uuid":"624833629","full_name":"joaomlneto/jitaspace","owner":"joaomlneto","description":"EVE Online tools and datasets","archived":false,"fork":false,"pushed_at":"2025-02-22T02:55:08.000Z","size":15629,"stargazers_count":1,"open_issues_count":26,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T03:25:38.987Z","etag":null,"topics":["esi","eve","eve-online","eveonline","nextjs","turborepo","typescript","vercel"],"latest_commit_sha":null,"homepage":"https://www.jita.space","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joaomlneto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"joaomlneto","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-04-07T11:19:14.000Z","updated_at":"2025-02-11T20:56:11.000Z","dependencies_parsed_at":"2024-07-06T17:03:32.995Z","dependency_job_id":"fd7a05fa-3b5d-4ca6-a27a-cf7c1afc3ccf","html_url":"https://github.com/joaomlneto/jitaspace","commit_stats":null,"previous_names":["joaomlneto/jitaspace"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomlneto%2Fjitaspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomlneto%2Fjitaspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomlneto%2Fjitaspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomlneto%2Fjitaspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaomlneto","download_url":"https://codeload.github.com/joaomlneto/jitaspace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240391775,"owners_count":19793945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esi","eve","eve-online","eveonline","nextjs","turborepo","typescript","vercel"],"created_at":"2024-11-09T22:04:40.774Z","updated_at":"2026-05-06T13:33:13.456Z","avatar_url":"https://github.com/joaomlneto.png","language":"TypeScript","funding_links":["https://github.com/sponsors/joaomlneto"],"categories":[],"sub_categories":[],"readme":"# Jita Space\n\n[![](https://dcbadge.limes.pink/api/server/https://discord.gg/fvcFu7j4dx)](https://discord.gg/https://discord.gg/fvcFu7j4dx)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=joaomlneto_jitaspace\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=joaomlneto_jitaspace)\n\n\nThis repository uses [Turborepo](https://turborepo.org/) and contains:\n\n```\n.github\n  └─ workflows\n        └─ CI with pnpm cache setup\n.vscode\n  └─ Recommended extensions and settings for VSCode users\napps\n  ├─ mobile (not yet!)\n  |   ├─ Expo SDK 48\n  |   ├─ React Native using React 18\n  |   ├─ Navigation using Expo Router\n  └─ web\n      └─ Next.js 13 web application, hosted on Vercel\npackages\n  ├─ auth\n  |   └─ next-auth package preconfigured to use EVE SSO\n  ├─ db\n  |   └─ database client and utilities, based on Prisma\n  ├─ esi-client\n  |   └─ Generated Typescript/React client for ESI API\n  ├─ esi-metadata\n  |   └─ A bunch of ESI metadata, such as scopes, ID ranges, mapping of endpoints to scopes, …\n  ├─ eve-icons\n  |   └─ Collection of EVE Icons as react components\n  ├─ eve-scrape\n  |   └─ Background jobs, using Inngest\n  ├─ evetycoon-client\n  |   └─ Generated Typescript/React client for EveTycoon API (DOES NOT WORK DUE TO CORS)\n  ├─ fuzzworks-market-client\n  |   └─ Generated Typescript/React client for Fuzzwork Enterprises Market API\n  ├─ hooks\n  |   └─ React hooks for high-level ESI interactions\n  ├─ sde-client\n  |   └─ Generated Typescript/React client for ESI SDE API at https://sde.jita.space\n  ├─ tiptap-eve\n  |   └─ Custom Tiptap (https://tiptap.dev) editor supporting EVE HTML syntax\n  ├─ ui\n  |   └─ React UI components\n  └─ utils\n      └─ Diverse utilities that don't fit anywhere else\ntooling\n  ├─ eslint\n  |   └─ shared, fine-grained, eslint presets\n  ├─ prettier\n  |   └─ shared prettier configuration\n  └─ typescript\n      └─ shared tsconfig you can extend from\n```\n\n## Quick Start\n\nTo get it running, follow the steps below:\n\n### Setup dependencies\n\n```diff\n# Install dependencies\npnpm i\n\n# In packages/db/prisma update schema.prisma provider to use sqlite\n# or use your own database provider\n- provider = \"postgresql\"\n+ provider = \"sqlite\"\n\n# Configure environment variables.\n# There is an `.env.example` in the root directory you can use for reference\ncp .env.example .env\n\n# Push the Prisma schema to your database\npnpm db:push\n```\n\n### Configure Expo `dev`-script\n\n#### Use iOS Simulator\n\n1. Make sure you have XCode and XCommand Line Tools\n   installed [as shown on expo docs](https://docs.expo.dev/workflow/ios-simulator/).\n   \u003e **NOTE:** If you just installed XCode, or if you have updated it, you need to open the simulator manually once.\n   Run `npx expo start` in the root dir, and then enter `I` to launch Expo Go. After the manual launch, you can\n   run `pnpm dev` in the root directory.\n\n```diff\n+  \"dev\": \"expo start --ios\",\n```\n\n3. Run `pnpm dev` at the project root folder.\n\n\u003e **TIP:** It might be easier to run each app in separate terminal windows so you get the logs from each app separately.\n\u003e This is also required if you want your terminals to be interactive, e.g. to access the Expo QR code. You can\n\u003e run `pnpm --filter expo dev` and `pnpm --filter nextjs dev` to run each app in a separate terminal window.\n\n#### For Android\n\n1. Install Android Studio tools [as shown on expo docs](https://docs.expo.dev/workflow/android-studio-emulator/).\n2. Change the `dev` script at `apps/expo/package.json` to open the Android emulator.\n\n```diff\n+  \"dev\": \"expo start --android\",\n```\n\n3. Run `pnpm dev` at the project root folder.\n\n## Deployment\n\n### Next.js\n\n#### Prerequisites\n\n_We do not recommend deploying a SQLite database on serverless environments since the data wouldn't be persisted. I\nprovisioned a quick Postgresql database on [Railway](https://railway.app), but you can of course use any other database\nprovider. Make sure the prisma schema is updated to use the correct database._\n\n**Please note that the Next.js application with tRPC must be deployed in order for the Expo app to communicate with the\nserver in a production environment.**\n\n#### Deploy to Vercel\n\nLet's deploy the Next.js application to [Vercel](https://vercel.com/). If you have ever deployed a Turborepo app there,\nthe steps are quite straightforward. You can also read\nthe [official Turborepo guide](https://vercel.com/docs/concepts/monorepos/turborepo) on deploying to Vercel.\n\n1. Create a new project on Vercel, select the `apps/nextjs` folder as the root directory and apply the following build\n   settings:\n\n\u003cimg width=\"927\" alt=\"Vercel deployment settings\" src=\"https://user-images.githubusercontent.com/11340449/201974887-b6403a32-5570-4ce6-b146-c486c0dbd244.png\"\u003e\n\n\u003e The install command filters out the expo package and saves a few second (and cache size) of dependency installation.\n\u003e The build command makes us build the application using Turbo.\n\n2. Add your `DATABASE_URL` environment variable.\n\n3. Done! Your app should successfully deploy. Assign your domain and use that instead of `localhost` for the `url` in\n   the Expo app so that your Expo app can communicate with your backend when you are not in development.\n\n### Expo\n\nDeploying your Expo application works slightly differently compared to Next.js on the web. Instead of \"deploying\" your\napp online, you need to submit production builds of your app to the app stores,\nlike [Apple App Store](https://www.apple.com/app-store/) and [Google Play](https://play.google.com/store/apps). You can\nread the full [Distributing your app](https://docs.expo.dev/distribution/introduction/), including best practices, in\nthe Expo docs.\n\n1. Make sure to modify the `getBaseUrl` function to point to your backend's production URL:\n\nhttps://github.com/t3-oss/create-t3-turbo/blob/656965aff7db271e5e080242c4a3ce4dad5d25f8/apps/expo/src/utils/api.tsx#L20-L37\n\n2. Let's start by setting up [EAS Build](https://docs.expo.dev/build/introduction/), which is short for Expo Application\n   Services. The build service helps you create builds of your app, without requiring a full native development setup.\n   The commands below are a summary of [Creating your first build](https://docs.expo.dev/build/setup/).\n\n   ```bash\n   // Install the EAS CLI\n   $ pnpm add -g eas-cli\n\n   // Log in with your Expo account\n   $ eas login\n\n   // Configure your Expo app\n   $ cd apps/expo\n   $ eas build:configure\n   ```\n\n3. After the initial setup, you can create your first build. You can build for Android and iOS platforms and use\n   different [**eas.json** build profiles](https://docs.expo.dev/build-reference/eas-json/) to create production builds\n   or development, or test builds. Let's make a production build for iOS.\n\n   ```\n   $ eas build --platform ios --profile production\n   ```\n\n   \u003e If you don't specify the `--profile` flag, EAS uses the `production` profile by default.\n\n4. Now that you have your first production build, you can submit this to the\n   stores. [EAS Submit](https://docs.expo.dev/submit/introduction/) can help you send the build to the stores.\n\n   ```\n   $ eas submit --platform ios --latest\n   ```\n\n   \u003e You can also combine build and submit in a single command, using `eas build ... --auto-submit`.\n\n5. Before you can get your app in the hands of your users, you'll have to provide additional information to the app\n   stores. This includes screenshots, app information, privacy policies, etc. _While still in\n   preview_, [EAS Metadata](https://docs.expo.dev/eas/metadata/) can help you with most of this information.\n\n6. Once everything is approved, your users can finally enjoy your app. Let's say you spotted a small typo; you'll have\n   to create a new build, submit it to the stores, and wait for approval before you can resolve this issue. In these\n   cases, you can use EAS Update to quickly send a small bugfix to your users without going through this long process.\n   Let's start by setting up EAS Update.\n\n   The steps below summarize\n   the [Getting started with EAS Update](https://docs.expo.dev/eas-update/getting-started/#configure-your-project)\n   guide.\n\n   ```bash\n   // Add the `expo-updates` library to your Expo app\n   $ cd apps/expo\n   $ pnpm expo install expo-updates\n\n   // Configure EAS Update\n   $ eas update:configure\n   ```\n\n7. Before we can send out updates to your app, you have to create a new build and submit it to the app stores. For every\n   change that includes native APIs, you have to rebuild the app and submit the update to the app stores. See steps 2\n   and 3.\n\n8. Now that everything is ready for updates, let's create a new update for `production` builds. With the `--auto` flag,\n   EAS Update uses your current git branch name and commit message for this update.\n   See [How EAS Update works](https://docs.expo.dev/eas-update/how-eas-update-works/#publishing-an-update) for more\n   information.\n\n   ```bash\n   $ cd apps/expo\n   $ eas update --auto\n   ```\n\n   \u003e Your OTA (Over The Air) updates must always follow the app store's rules. You can't change your app's primary\n   functionality without getting app store approval. But this is a fast way to update your app for minor changes and bug\n   fixes.\n\n9. Done! Now that you have created your production build, submitted it to the stores, and installed EAS Update, you are\n   ready for anything!\n\n## References\n\nThe stack originates from [create-t3-app](https://github.com/t3-oss/create-t3-app).\n\nA [blog post](https://jumr.dev/blog/t3-turbo) where I wrote how to migrate a T3 app into this.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaomlneto%2Fjitaspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaomlneto%2Fjitaspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaomlneto%2Fjitaspace/lists"}