KapJep / RIP

Find out which Actors have left this world!
0 stars 0 forks source link

move tmdb API key to backend #32

Open kapcom01 opened 1 year ago

kapcom01 commented 1 year ago

It is not secure to have our key in public. In the future we must move the key to backend, running in a private server.

kapcom01 commented 1 year ago

I think we should make a web server to run on the backend using nodejs: https://nodejs.org/en/docs/guides/getting-started-guide

kapcom01 commented 1 year ago

This web server should provide a public API that we can call from rip.js like http://rip_server/get_actor_info instead of using the function anazitisi. The function anazitisi and all its dependencies should be moved to the backend web server because it contains the tmdb key which is private information.