World's Best API, no doubt about it.

Overview

World's Best API, no doubt about it.

Short Description

This API is intended to serve smiley faces. Requesters must first register an API key, which the server admin enters in public/db/keys.txt. After the key has been approved, the owner of the key may make a request to /api/(key) to mint a token. Once a token has been minted, the owner of the token may make a request to /api/smile/(token) within 30 seconds of getting the token to recieve a smiley face :)

For server admins

You can access a variety of tools for this API such as adding new keys and checking active tokens using the /api/admin endpoints. The current admin key is qxtvR2Xq, though you may change this in api.ts if you'd like.

  • To add a key: GET /api/add_key?admin_key=<your key here>&new_key=<new key to add>
  • To check active tokens: GET /api/active_tokens?admin_key=<your key here>

Technologies Used

The core of this API runs on Next.js with TypeScript, and Yarn to handle packaging.

Installation

You'll need the latest version of Node as well as the Yarn Package Manager. First, install all the required dependencies:

yarn install --force

Then, start the server:

yarn dev
You might also like...

A website made using ReactJS library which displays all the best selling books of 2021 and a feature to check them on amazon.

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Dec 30, 2021

Secure-electron-template - The best way to build Electron apps with security in mind.

Secure-electron-template - The best way to build Electron apps with security in mind.

secure-electron-template A current electron app template with the most popular frameworks, designed and built with security in mind. (If you are curio

Dec 29, 2022

Some HTML, CSS and JS best practices.

Frontend Guidelines HTML Semantics HTML5 provides us with lots of semantic elements aimed to describe precisely the content. Make sure you benefit fro

Jan 1, 2023

📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)

📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)

👇 Why this guide can take your testing skills to the next level 📗 46+ best practices: Super-comprehensive and exhaustive This is a guide for JavaScr

Jan 2, 2023

vota.dev - Vote the best web development trends of the year

vota.dev Welcome to vota.dev! This is a work in progress! Development GitHub - Set-Up an OAuth Application Using Railway Development Install the proje

Dec 28, 2022

A platform designed specifically as an additional layer on top of Google Classroom for students to gain the best out of online evaluations

A platform designed specifically as an additional layer on top of Google Classroom for students to gain the best out of online evaluations

Peer-Learning-Platform A platform designed specifically as an additional layer on top of Google Classroom for students to gain the best out of online

Jun 12, 2022

The best Nodejs price kit you need when working with cryptocurrencies with multiple providers support

Cryptocurrency Price Kit STAGE: RFC The best Nodejs price kit you need when working with cryptocurrencies with multiple providers support. Goal To pro

Sep 7, 2022

nekos.best's documentation repository.

NekosBest's documentation Table of Contents Introduction Contributing Contribution Guidelines Introduction Welcome to nekos.best's documentation repos

Nov 20, 2022

pre-calculated list of similar Persian words ordered by rating and best match

similar-persian-words pre-calculated list of similar Persian words ordered by rating and best match. Install npm: npm install similar-persian-words Us

May 29, 2022
Owner
Brandon Lee
I'm a programmer. CWRU '24
Brandon Lee
Open Source REST API for the best league in the world

NBA REST API Open Source REST API for the best league in the world! We are not affiliated, associated, authorized, endorsed by, or in any way official

Francisco Panozzo 16 Nov 6, 2022
Mongoose Node.js Express TypeScript application boilerplate with best practices for API development.

Node TypeScript Boilerplate Mongoose The main purpose of this repository is to show a good end-to-end project setup and workflow for writing a Mongoos

Chirag Mehta 20 Dec 13, 2022
In this project I'll use Asynchronous Javascript to call an API and set the leaderboard of the best players.

Leaderboard Project In this project I'll use Asynchronous Javascript to call an API and set the leaderboard of the best players. The main goals of thi

Oscar Fernández Muñoz 4 Oct 17, 2022
:white_check_mark: The Node.js best practices list (March 2021)

Node.js Best Practices Follow us on Twitter! @nodepractices Read in a different language: CN, BR, RU, PL, JA, EU (ES, FR, HE, KR and TR in progress! )

Yoni Goldberg 85k Jan 9, 2023
A set of best practices for JavaScript projects

中文版 | 日本語版 | 한국어 | Русский | Português Project Guidelines · While developing a new project is like rolling on a green field for you, maintaining it is

Elsewhen 28.4k Jan 1, 2023
:books: The definitive guide to TypeScript and possibly the best TypeScript book :book:. Free and Open Source 🌹

TypeScript Deep Dive I've been looking at the issues that turn up commonly when people start using TypeScript. This is based on the lessons from Stack

Basarat Ali Syed 18.7k Jan 4, 2023
Best practices for modern web development

Web Fundamentals on DevSite Welcome to the new WebFundamentals! An effort to showcase best practices and tools for modern Web Development. What's chan

Google 13.7k Dec 30, 2022
An easy-to-read, quick reference for JS best practices, accepted coding standards, and links around the Web

Feel free to contribute! Where? http://www.jstherightway.org Why? Today we have a bunch of websites running JavaScript. I think we need a place to put

BrazilJS 8.5k Jan 1, 2023
The best UI framework out there 🦆 In development 🚀

Noia UI Getting Started | Community | Creators | ?? Noia UI ?? in development... ?? Getting Started # First clone this repository $ git clone https://

Foton 18 Mar 10, 2022
Enforcing best practices for Effector

eslint-plugin-effector Enforcing best practices for Effector This plugin uses TypeScript for more precise results, but JavaScript is supported too. In

effector ☄️ 89 Dec 15, 2022