- New Postgres table schemas - Using Stored Procedures with transactions that validate business logic - User Ids now use UUID - Updated and simplified all endpoints to call the stored procedures Notes: There are still a few things missing that broke because of the migration, in particular, because we moved a lot of the business logic into the database, we now require that certain data that lived in the game-config.json to be present in the database as well, to prevent cheating and truly have a single source of truth.
35 lines
766 B
JSON
35 lines
766 B
JSON
{
|
|
"name": "mooner",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@next/font": "13.1.6",
|
|
"@solana/web3.js": "^1.73.3",
|
|
"@types/node": "18.13.0",
|
|
"@types/react": "18.0.27",
|
|
"@types/react-dom": "18.0.10",
|
|
"eslint": "8.33.0",
|
|
"eslint-config-next": "13.1.6",
|
|
"next": "13.1.6",
|
|
"pg": "^8.10.0",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-icons": "^4.8.0",
|
|
"sqlite": "^4.1.2",
|
|
"sqlite3": "^5.1.4",
|
|
"typescript": "4.9.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/pg": "^8.6.6",
|
|
"autoprefixer": "^10.4.13",
|
|
"postcss": "^8.4.21",
|
|
"tailwindcss": "^3.2.6"
|
|
}
|
|
}
|