oesk-sveltekit Svelte Themes

Oesk Sveltekit

SvelteKit app for GraphQL vs REST API performance testing

Overview

The app's is a testing environment for SvelteKit API endpoints efficiency. API exposes standard endpoints and GraphQL Apollo Server endpoint for deeply nested relational data query and mutation efficiency measurement.

Tech

Running

The project contains generated sample data in prisma/database.sqlite3. Additional data can be created using api/populate endpoint.

The SvelteKit app lives on Express server to resolve issues related to CORS origin within Apollo Server while running in adapter's bare NodeJS.

Install dependencies:

npm install

Generate Prisma Client:

npx prisma generate

Build the project:

npm run build

Run the Express server:

npm run start

Top categories

Loading Svelte Themes