Skip to content

Commit

Permalink
Merge pull request #8 from jeferson-sb/feat/onesignal
Browse files Browse the repository at this point in the history
feat: remove firebase and setup onesignal
  • Loading branch information
jeferson-sb authored Nov 25, 2023
2 parents 22024b0 + e2a9c62 commit b080401
Show file tree
Hide file tree
Showing 11 changed files with 3,083 additions and 3,847 deletions.
16 changes: 2 additions & 14 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@

DATABASE_URL=postgresql://postgres:postgres@localhost:5432/whatconf

# FIREBASE

NEXT_PUBLIC_FIREBASE_APIKEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECTID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDERID=
NEXT_PUBLIC_FIREBASE_APPID=
NEXT_PUBLIC_FIREBASE_MEASUREMENTID=

# FIREBASE / MESSAGING

NEXT_PUBLIC_FIREBASE_VAPIDKEY=

# Next Auth
# You can generate a new secret on the command line with:
# openssl rand -base64 32
Expand All @@ -38,3 +24,5 @@ DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
ONESIGNAL_APP_ID=
ONESIGNAL_SAFARI_ID=
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cp .env.example .env
Fill the environment variables with **your** credentials. For more info see:

- Check next-auth [social providers documentation](https://next-auth.js.org/providers)
- Check the setup of a new project in [Firebase](https://firebase.google.com/docs/web/setup)
- Check [OneSignal documentation](https://documentation.onesignal.com/docs/react-js-setup)

Start a postgres database or use docker:

Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"db:setup": "npm run db:generate && npm run db:migrate && npm run db:seed",
"lint": "next lint",
"start": "next start",
"test": "vitest"
"test": "vitest",
"check:deps": "npm-check-updates --format group"
},
"prisma": {
"seed": "ts-node --transpile-only prisma/seed.ts"
Expand All @@ -27,17 +28,15 @@
"@trpc/next": "10.38.4",
"@trpc/react-query": "10.38.4",
"@trpc/server": "10.38.4",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"dayjs": "^1.11.10",
"firebase": "^9.23.0",
"firebase-admin": "^11.9.0",
"next": "13.5.2",
"next-auth": "^4.23.1",
"open-props": "^1.5.16",
"open-props": "^1.6.13",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-firebase-hooks": "^5.1.1",
"react-hook-form": "^7.46.2",
"react-onesignal": "^3.0.1",
"superjson": "1.13.1",
"zod": "^3.22.2"
},
Expand All @@ -53,16 +52,17 @@
"eslint": "^8.50.0",
"eslint-config-next": "13.5.2",
"happy-dom": "^7.7.0",
"npm-check-updates": "^16.14.11",
"prettier": "^2.8.8",
"prisma": "^4.5.0",
"prisma": "^4.16.2",
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
"typescript": "^5.0.0",
"vitest": "^0.25.2"
},
"ct3aMetadata": {
"initVersion": "6.8.1"
},
"engines": {
"node": "^16.17.0 || ^18.0.0"
"node": "^18.0.0"
}
}
Loading

1 comment on commit b080401

@vercel
Copy link

@vercel vercel bot commented on b080401 Nov 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

whatconf – ./

whatconf-jeferson-sb.vercel.app
whatconf.vercel.app
whatconf-git-main-jeferson-sb.vercel.app

Please sign in to comment.