Here is my first angular project :
An Angular planning app, feeded with data stored in a mysql database and send in json.
There is a user system. Each user is given an ID and a Password to reach his own data stored in his own database.
This structure cannot be edited because the original datas are retrieved from an existing software and sended to these databases for each user.
My problem is : From the main login page of the application, how to make this specific user logged in his database ?
My ideas:
- Create a "login" database with the ID, the Password and the user's database connection to allow my application to connect to the right database
- Create a sort of "router" on the server to redirect properly the user to his data directly
I'm a bit lost and any tips would be thankful!
Mickael