CS373 Spring 2021: Blog #7

Xuefei Zhao
2 min readMar 14, 2021
  1. What did you do this past week?
    This past week I set up the backend on AWS. I hosted our backend on AWS with the same domain as the frontend, and I created a database on AWS RDS. After this, I worked on designing the data schema for our backend.
  2. What’s in your way?
    I start to feel a little bit overwhelmed this week, and I need to take a break.
  3. What will you do next week?
    Right now a draft of the data schema is ready, but they are not fully tested. I will mainly work on testing the database schema and fix bugs. If I have time after this, I will work on implementing the APIs.
  4. If you read it, what did you think of the Liskov Substitution Principle?
    I read the article about the Open-Closed Principle last week, and I mentioned the principle may be hard to follow. After reading this week’s article, I think the Liskov Substitution Principle offers a perspective on examining whether or not the object is closed. Also, I realized the logic behind objects can conflict with our comment sense sometimes.
  5. What was your experience of iteration, comprehension, generators, and digits iterator?
    I did not know digit iterator and generators in python code until the lectures. I think they are great tools to use if I happen to need them. I sometimes use list comprehension to make my code more concise. I think I should practice with these tools as I work on the project so I can be more used to them.
  6. What made you happy this week?
    Today is my mom’s birthday!
  7. What’s your pick-of-the-week or tip-of-the-week?
    I spent a lot of time on this. Make sure you use /api/<method name>in your backend code for the APIs if you would like to use website/api/for your API endpoint. Otherwise, AWS Cloudfront cannot route to your backend server.

--

--