Accounts System Deployment (node.js)

How could I modify my accounts system to work with the new Replit Deployments? I have a node webserver which is running a website with a signup/login page (as well as other things). These all work together and communicate with the server with, which works fine. Before deployments, my server was encrypting information and putting it into a users.json file, and then decrypting it when it was needed. Now I have heard that the deployment is a snapshot of the file system, and that if a file is updated, it will not be permanent. How could I make this system work with deployments? I wouldn’t like to use PostgreSQL because it is too expensive. Hopefully I won’t have to try to find a different cloud coding service.

Repl link:

You could try using ReplDB. IIRC that works with Deployments.

1 Like