javascript developer wanted -- 3

Job ID: 32975074

Budget: $50 – $65 USD

i need a next.js developer that can optimize the speed of my next.js app

i have a simple next.js app that allows users to programmatically create dynamic routes by uploading their csv files to the database.

THIS VIDEO SHOWS YOU HOW TO CREATE A TEMPLATE:
https://www.loom.com/share/55764f930fcc42e4be312d6f07e9b57b

THIS VIDEO SHOWS YOU THE TEMPLATE AND PAGE ROUTES:
https://www.loom.com/share/af2cf5fa138d4b199c144f1de535e068

PROBLEMS:
1. creating and optimizing/editing of large templates is really slow;
2. rendering template route and page routes is really slow;

WHAT I WANT:
If a user (a) uploads a region CSV File OR (b) selects region from the location dropdown, enters [ rooms in $city ] in a page slug, and then clicks on the save button. Even if there are 20,000,000 cities in the CSV File OR region collection or category, we will not create 20,000,000 city routes at build time. However, we will only request the database to create the template route and 1 city route at build time and then render/match the rest 19,999,999 city routes at request time.