Skip to content

Commit

Permalink
remove pages and update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nehal7-ml committed Jan 3, 2024
1 parent 1e59fe3 commit 3e9a402
Show file tree
Hide file tree
Showing 65 changed files with 83 additions and 3,791 deletions.
24 changes: 20 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
### These env vars are for authentication & database to work. If you don't require them, feel free to enter dummy values for all these.

# Create a free PostgreSQL database: https://vercel.com/postgres
# Create a free mysql databse on PLanetscale, create a test branch if you wan tot use prism migrations (Shadow)
# If you're deploying this template with a Vercel Deploy Button, these will be configured automatically for you.
POSTGRES_PRISMA_URL=
POSTGRES_URL_NON_POOLING=
DATABASE_URL_MAIN=
DATABASE_URL_SHADOW=

# Follow the instructions here to create a Google OAuth app: https://refine.dev/blog/nextauth-google-github-authentication-nextjs/#for-googleprovider-make-sure-you-have-a-google-account
GOOGLE_CLIENT_ID=
Expand All @@ -14,4 +14,20 @@ NEXTAUTH_SECRET=oiwqe[pow[eo][qwep]qwe]

## Only required for localhost
NEXTAUTH_URL=http://localhost:3000
HOST=http://localhost:3000
HOST=http://localhost:3000


## sengrid credentials for contact forms
SENDGRID_API_KEY=
## list name to add contact to
SENDGRID_LIST=

SENDGRID_EMAIL=
# recieves contact form messages
CONTACT_EMAIL=


## google captcha keeys

NEXT_PUBLIC_CAPTCHA_KEY=6Le4m-woAAAAABbX2Tsi6a-5vo2OJWTfo7KqnBtU
CAPTCHA_SECRET=6Le4m-woAAAAAE-xh66QUX08O_T437nfi93OgyHT
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<a href="https://cybershoptech.com">
<img alt="Precedent – Building blocks for your Next project" src="https://cybershoptech.com/opengraph-image">
<h1 align="center">Precedent</h1>
<img alt="Cyberoni – Building blocks for your Next project" src="https://cybershoptech.com/opengraph-image">
<h1 align="center">Cyber oni</h1>
</a>

<p align="center">
Expand Down
15 changes: 0 additions & 15 deletions app/affiliate/[prefix]/page.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions app/api/blogs/[id]/route.ts

This file was deleted.

17 changes: 0 additions & 17 deletions app/api/blogs/add/route.ts

This file was deleted.

13 changes: 0 additions & 13 deletions app/api/blogs/all/[page]/route.ts

This file was deleted.

30 changes: 0 additions & 30 deletions app/api/blogs/comments/[id]/route.ts

This file was deleted.

16 changes: 0 additions & 16 deletions app/api/blogs/home/route.ts

This file was deleted.

26 changes: 0 additions & 26 deletions app/api/captcha/route.ts

This file was deleted.

25 changes: 0 additions & 25 deletions app/api/cloudinary/route.ts

This file was deleted.

30 changes: 0 additions & 30 deletions app/api/events/[id]/route.ts

This file was deleted.

17 changes: 0 additions & 17 deletions app/api/events/add/route.ts

This file was deleted.

13 changes: 0 additions & 13 deletions app/api/events/all/[page]/route.ts

This file was deleted.

36 changes: 0 additions & 36 deletions app/api/image/route.ts

This file was deleted.

28 changes: 0 additions & 28 deletions app/api/marketing/contact/route.ts

This file was deleted.

20 changes: 0 additions & 20 deletions app/api/notion/databases/[id]/route.ts

This file was deleted.

Loading

0 comments on commit 3e9a402

Please sign in to comment.