leaky-ships/leaky-ships
aronmal 61ae4b901d
Game settings and better socket performance
- Added game settings
- Reworked GamePropsSchema for only relevant information
-> Prisma schema and zod object
- Imporved toast notifications
- No duplicate socket connections anymore
- Using now Zustand for the gameProps instead of React Context & State
2023-05-10 21:02:22 +02:00
..
components Game settings and better socket performance 2023-05-10 21:02:22 +02:00
hooks Game settings and better socket performance 2023-05-10 21:02:22 +02:00
interfaces Game settings and better socket performance 2023-05-10 21:02:22 +02:00
lib Game settings and better socket performance 2023-05-10 21:02:22 +02:00
pages Game settings and better socket performance 2023-05-10 21:02:22 +02:00
prisma Game settings and better socket performance 2023-05-10 21:02:22 +02:00
public Add artificial screws 2023-02-11 19:37:46 +01:00
styles Some repatches 2023-04-23 19:01:55 +02:00
types Using next-auth 2023-04-23 18:21:18 +02:00
.eslintrc.json Use Prettier 2023-02-07 20:44:00 +01:00
.gitignore Add git ignores 2023-02-14 21:00:18 +01:00
.prettierignore Adding Prettier config files 2023-02-08 10:26:33 +01:00
.prettierrc.json Using @trivago/prettier-plugin-sort-imports 2023-04-11 20:05:50 +02:00
global.d.ts Complete backend rework 2023-04-08 16:56:03 +02:00
next.config.js Init NextJS app 2023-01-06 15:58:48 +01:00
package-lock.json Started introducing prisma to connect to MongoDB 2023-02-03 22:42:20 +01:00
package.json Game settings and better socket performance 2023-05-10 21:02:22 +02:00
pnpm-lock.yaml Game settings and better socket performance 2023-05-10 21:02:22 +02:00
postcss.config.js Added tailwind 2023-02-07 20:25:39 +01:00
README.md Init NextJS app 2023-01-06 15:58:48 +01:00
tailwind.config.js Fix tailwind config in the best practice way 2023-02-12 17:59:12 +01:00
tsconfig.json Game settings and better socket performance 2023-05-10 21:02:22 +02:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.