Code Monkey home page Code Monkey logo

yanivwein24 / similarity-api-next.js Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 3.74 MB

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

Home Page: https://similarity-api-next.vercel.app

License: MIT License

JavaScript 1.68% TypeScript 97.24% CSS 1.08%
api dark-theme eslint lucide-icons next-auth nextjs oauth2 prisma protected-routes radix-ui rate-limiting redis tailwindcss typescript user-dashboard zod

similarity-api-next.js's Introduction

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

similarity-api-next.js's People

Contributors

yanivwein24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

petruccinho

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.