Skip to content

pavlo91/Cyber-Safely-Frontend

Repository files navigation

Screenshot

Dashboard page Landing page Register page Resource page School page Staff page

CyberSafely

Next.js, Typescript, Apollo, Material UI, TailWind CSS, BootStrap5, Prisma, PostgreSQL, GraphQL, AI, React, Next-Router, Redux, Context, Socket Project


Running

Run yarn install and then yanr dev to run it locally.

Pages

  • / - this is the landing page
  • /auth/* - all pages under this route are for login, register, etc.
  • /dashboard/* - all pages under this route are for the dashboard (staff, coach, student, parent).

Libraries

  • Next.JS
  • Apollo Client
  • GraphQL Codegen
  • MUI
  • zod
  • date-fns

Environment Variables

NEXT_PUBLIC_ENVIRONMENT= #demo
NEXT_PUBLIC_API_URL=
NEXT_PUBLIC_APP_NAME=
NEXT_PUBLIC_APP_SHORT_NAME=
NEXT_PUBLIC_EMAIL_SUPPORT=
NEXT_PUBLIC_ENABLE_LOGIN=
NEXT_PUBLIC_INTERCOM_APP_ID=

Create an .env file at the root of the project:

NEXT_PUBLIC_ENABLE_LOGIN=true

Seeded Logins

The password for all is password.