I haven’t done this project, you might be able to use some of it, but what you describe is something far more extensive.
The user is very likely not going to keep your website open for months on end.
furthermore, so many records would take up an awful lot of memory.
To accommodate what you want, you will need to introduce a back-end (with database), where you can store (and persist) these entries.
And then I still wouldn’t load everything into the browser/front-end in one go, very likely use pagination and filters.