8000 GitHub - StefanBRas/octopuzzles: Octopuzzles
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

StefanBRas/octopuzzles

Repository files navigation

OctoPuzzles.com

Welcome to the open source octopuzzles repo.

Getting started

First of all, you should copy the .env.example file to a .env file. The default values should be fine for getting up and running.

Next install dependencies with

npm i

We use postgres as database. To start a local database, you can use the docker compose. Just run

docker compose up -d

This might take a while to start.

Next to setup the database client run

npx prisma migrate dev
# and then
npx prisma generate

After that is done, you can now start the website locally by running

npm run dev

This should get everything up and running.

Architecture

Below is a list of our stack, and why we have chosen them

  • Sveltekit
    • We use svelte since we have a lot of dom updates, and react would be quite cumbersome to make work for this. Other frameworks could be used as well, but we also make heavy use of svelte stores.
  • trpc
    • We use trpc for end to end type safety. It is primarily designed for next, but we use the sveltekit wrapper for this site. It does not have build-in query hooks with something like tanstack query, but might in the future.

About

Octopuzzles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0