Skip to content

Commit

Permalink
feat: comment delete Snackbar
Browse files Browse the repository at this point in the history
  • Loading branch information
warmachine028 committed Nov 29, 2024
1 parent 23ded47 commit 6ac4c0a
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 32 deletions.
47 changes: 24 additions & 23 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,26 @@
{
"$schema": "https://json.schemastore.org/package",
"name": "memories",
"scripts": {
"dev": "bun x vite --host",
"build": "bun x vite build",
"lint": "eslint .",
"preview": "bun x vite preview",
"start": "bun x vite preview"
},
"type": "module",
"homepage": "https://memories-latest.vercel.app",
"version": "1.0.0",
"module": "src/main.jsx",
"author": {
"email": "[email protected]",
"name": "Pritam Kundu",
"url": "https://github.com/warmachine028"
},
"description": "A modern, fast, and secure web app to store your memories built with the latest technologies and best practices.",
"license": "MIT",
"homepage": "https://memories-latest.vercel.app",
"repository": {
"type": "git",
"url": "https://github.com/warmachine028/memories"
},
"bugs": {
"url": "https://github.com/warmachine028/memories/issues"
},
"keywords": [
"social-media",
"social",
"memories",
"diary",
"digital-diary"
],
"license": "MIT",
"scripts": {
"dev": "bun x vite --host",
"build": "bun x vite build",
"lint": "eslint .",
"preview": "bun x vite preview",
"start": "bun x vite preview"
},
"dependencies": {
"@clerk/clerk-react": "^5.17.1",
"@emotion/react": "^11.13.5",
Expand Down Expand Up @@ -61,5 +51,16 @@
"globals": "^15.12.0",
"prettier": "^3.4.1",
"vite": "^6.0.1"
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/warmachine028/memories"
},
"keywords": [
"social-media",
"social",
"memories",
"diary",
"digital-diary"
]
}
Binary file modified server/bun.lockb
Binary file not shown.
13 changes: 6 additions & 7 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://json.schemastore.org/package",
"name": "memories",
"type": "module",
"homepage": "https://github.com/warmachine028/memories#readme",
"name": "memories-server",
"homepage": "https://memories-7ryn.onrender.com",
"version": "1.0.0",
"module": "src/index.ts",
"author": {
"name": "Pritam Kundu",
"email": "[email protected]",
Expand All @@ -26,7 +26,7 @@
"prisma:deploy": "prisma migrate deploy"
},
"dependencies": {
"@clerk/express": "^1.3.18",
"@clerk/backend": "^1.18.0",
"@elysiajs/cors": "^1.1.1",
"@elysiajs/cron": "^1.1.1",
"@elysiajs/swagger": "^1.1.6",
Expand All @@ -35,7 +35,7 @@
"@prisma/client": "^6.0.0",
"cloudinary": "^2.5.1",
"elysia": "latest",
"svix": "1.42.0"
"svix": "^1.42.0"
},
"peerDependencies": {
"typescript": "^5.6.3"
Expand All @@ -44,7 +44,6 @@
"bun-types": "latest",
"prisma": "^6.0.0"
},
"module": "src/index.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/warmachine028/memories.git"
Expand All @@ -58,4 +57,4 @@
"cron",
"render"
]
}
}
3 changes: 2 additions & 1 deletion server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ new Elysia()
.use(cors())
.get('/favicon.ico', () => Bun.file('public/favicon.ico'))
.get('/', () => '💾 Hello from memories server', {

detail: {
tags: ['Root'],
summary: 'Base route',

responses: {
'200': { description: 'Returns a message from the server' },
},
Expand Down
2 changes: 1 addition & 1 deletion server/src/middlewares/auth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { verifyToken } from '@clerk/express'
import { verifyToken } from '@clerk/backend'
import { type Elysia, error } from 'elysia'

// Middleware to check authentication
Expand Down

0 comments on commit 6ac4c0a

Please sign in to comment.