HAPPYS1NGH / Arbitrum-Faucet

A website to display all the faucets available to get Arbitrum Testnet Tokens across each network.

Home Page:https://arbitrum.faucet.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a DBMS for Faucets

HAPPYS1NGH opened this issue · comments

Description

Currently, the faucet data is stored as a constant in the index.js file. We need to move on to a database system in the future to avoid complexity and manually adding each faucet.

Implementation

I a planning to do it with PostgreSQL for the database and Prisma as an ORM. (Open to more discussion)

Tasks

  • Initialise the repository with dependencies
  • Create Schemas for Faucets
  • Create API Routes to talk with Database
  • Populate the data on Frontend after fetching it

I dont think it is needed. It will just add complexity so Keeping it simple