Skip to content

A Full-Stack Next.js project, with a rate-limited API in the backend and a user dashboard with documentation in the frontend.

License

Notifications You must be signed in to change notification settings

YanivWein24/Similarity-API-Next.js

Repository files navigation

Similarity API

Similarity-API-gif


A Full-Stack Next.js project, containing a rate-limited API in the backend and a user dashboard with documentation in the frontend.

The backend API has 3 purposes:

  • Authenticate users with Google
  • Create and revoke API keys
  • Determine the similarity of 2 strings. receives 2 strings as input, and returns a number between 0-1 representing the strings similarity.

In the frontend users can:

  • View their API usage in a dynamic table
  • Manage their API keys
  • View the documentation

Where can i check this out?

Right Here: https://similarity-api-next.vercel.app

Features

  • Rate Limited API routes

  • Protection of sensitive routes

  • Google Authentication

  • A complete API key system to create & revoke user keys

  • Light / Dark modes

  • User dashboard with a table of API requests history

  • Documentation page with animated code

  • Prisma ORM

  • Radix UI Primitives

  • Tailwind CSS

  • Icons from Lucide

  • Class merging with taiwind-merge

Lighthouse Score:

HomeScreen-light

Screenshots:

Home Page Home Page
Home Page Home Page

User Dashboard User Dashboard
User Dashboard User Dashboard

Documentation Page Documentation Page
Documentation Page Documentation Page

Login Page Login Page
Login Page Login Page

On Mobile:

Home Page Documentation Page User Dashboard


License

MIT