sneilan / stock-exchange

Personal stock exchange on your laptop!
Other
12 stars 4 forks source link

User Management #4

Open sneilan opened 8 months ago

sneilan commented 8 months ago

Make a user database. When clients authenticate, connect to user database and validate their credentials. Double check socket security for anything we need to prevent spoofing across the wire such as SSL.

sneilan commented 7 months ago

I'm considering sqlite for the user database. It's easy to replicate with litestream and has concurrency for multiple processes. Using a separate database like postgres may be overkill.