Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 2.4 KB

README.md

File metadata and controls

52 lines (35 loc) · 2.4 KB

GraphQL

This is a Next.js project aimed at learning the GraphQL query language by creating a personalized profile page.

Project Overview

The objective of this project is to build a profile UI that displays your school information. The data for your profile is retrieved from a GraphQL endpoint provided by the platform. The UI is fully customizable, but must include a statistics section that generates graphs based on your academic journey and achievements.

Key Features

  • Login Page: Securely sign in using either your username or email with a password to obtain a JWT token.
  • Profile Display: Showcase three pieces of information of your choice (e.g., basic user identification, XP amount, grades, audits, or skills).
  • Statistic Graphs: Generate at least two different SVG-based graphs to visualize data such as XP earned over time, audit ratios, or project pass/fail ratios.
  • Logout Functionality: Easily log out of your profile, invalidating the current session.

GraphQL API

Getting Started

To start the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Then open http://localhost:3000 in your browser to view your project.

Configuration

  • GraphQL Queries: Supply your JWT using Bearer authentication to access your data via GraphQL queries.
  • Environment Variables: Ensure your environment variables are set up to handle the GraphQL endpoint and JWT.

Learn More

To dive deeper into Next.js or GraphQL, check out the following resources:

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform.

For more details, see the Next.js deployment documentation.