https://github.com/yaroslavchuiko/threatchecker
ThreatChecker is a free website security scanner
https://github.com/yaroslavchuiko/threatchecker
nextauth nextjs prisma react reactquery t3-stack tailwindcss trpc typescript vercel zod
Last synced: 5 months ago
JSON representation
ThreatChecker is a free website security scanner
- Host: GitHub
- URL: https://github.com/yaroslavchuiko/threatchecker
- Owner: YaroslavChuiko
- Created: 2024-01-08T12:44:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T10:58:55.000Z (almost 2 years ago)
- Last Synced: 2025-03-21T04:51:14.599Z (over 1 year ago)
- Topics: nextauth, nextjs, prisma, react, reactquery, t3-stack, tailwindcss, trpc, typescript, vercel, zod
- Language: TypeScript
- Homepage: https://threat-checker.vercel.app
- Size: 257 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ThreatChecker
ThreatChecker is a free website security scanner. Remote scanners have limited access and results are not guaranteed.
## About
This is a [T3 Stack](https://create.t3.gg/) project bootstrapped with `create-t3-app`.
A chat application, written in Next.js, with the use of tRPC, NextAuth.js, Tailwind CSS, Prisma.
## Setup & Run
Prior to setup, create an `.env` file based on the `.env.example`.
Then proceed:
1. `pnpm install`
2. Create PostgreSQL database and add [connection url](https://www.prisma.io/docs/reference/database-reference/connection-urls#env) as value for `DATABASE_URL`
3. `npx prisma db push`
4. Generate a secret value for `NEXTAUTH_SECRET`. You can generate a new secret on the command line with: `openssl rand -base64 32`
5. Create a [Google OAuth App](https://console.developers.google.com/apis/credentials) and add values for `GOOGLE_CLIENT_ID` and `GOOGLE_CLIENT_SECRET`
6. Create a [Discord OAuth App](https://create.t3.gg/en/usage/next-auth#setting-up-the-default-discordprovider) and add values for `DISCORD_CLIENT_ID` and `DISCORD_CLIENT_SECRET`
7. Create a [GitHub OAuth App](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app). Make sure to set Authorization callback URL to http://localhost:3000/api/auth/callback/github. After that add values for `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`
8. Create [Mailtrap account](https://mailtrap.io/) and add values for `EMAIL_SERVER_USER`, `EMAIL_SERVER_PASSWORD`, `EMAIL_SERVER_HOST`, `EMAIL_SERVER_PORT`, `EMAIL_FROM`
9. Create [VirusTotal account](https://www.virustotal.com/) and add values for `VIRUS_TOTAL_API_KEY`
10. `npx prisma db seed`
11. `pnpm run dev`
## Deployment diagram

## Entity-relationship diagram

## Snapshots
### Sign in


### Home

### Results


### Statistics
