I was using Node.js 18 LTS and Python 3.10 for my project
For the backend,
- Install backend requirements using
requirements.txt
pip install -r requirements.txt
- Run the server
python app.py
Server will run on port 5001
For the frontend,
- Install the dependencies
npm install
- Run project
ng serve
-
I thought of first creating a barebones application for the sake of completeness.
-
I also thought it would be great to have it dockerized so I tried doing that, I only need a Docker Compose and some minor modifications to get that setup complete.
-
I implemented the default Flask caching but wanted to do something like Redis and the Docker setup would have really proved useful. But that was my plan.
-
I did setup the socket on the backend but did not have enough time to setup the frontend connections.
-
Ideally I would want to put all of this behind a reverse proxy too, but the time of the assessment isn't enough for these tasks.