Restify: phase 1
  • Due date: Fri Feb 13, 2022 23:59:00
  • remaining
Overview

Restify is the project's title that you will implement for this course. It is a social media for restaurants where users can search, follow, like, and comment on restaurants. Moreover, restaurant owners can create blog posts and upload their menus there. More details will follow in upcoming sections.

The project is divided into three phases. In phase 1, you will implement the static version of Restify as a presentable demo where users can navigate and see the features. However, it is not connected to a backend or frontend server. In phase 2, you will use Django and REST to implement the APIs, and, finally, in phase 3, you finalize the website using React JS. The eventual outcome of this project is a fully-functional website that meets the user stories listed in an upcoming section.

The project is handed out from the stakeholder's point of view. That is, imagine you are a freelance developer and someone hired you for this project. Therefore, the requirements are described in a non-technical way, and it is your job to design and implement the web application that meets them. There is much room for creativity, and you get decent freedom with respect to the details and various tools you can use for this project. In fact, there are very few general limitations. For example, you will have to use Django, REST, and React. Besides these, you can utilize online packages, libraries, or open-source codes to improve your website.

Academic Integrity

Unlike the assignments, you are allowed to download packages or use open source codes from the internet for the project. However, sharing even a small piece of code to other teams is strictly prohibited (either giving to or taking from them). Online codes must include a reference to the webpage they are taken from.

Groups

Register your groups on Markus as soon as you have found the teammates. The scope of the project is appropriate for a group of three members. However, if some members have already had prior knowledge in web development, groups of two would be fine as well. You can also choose to work entirely on your own, which is strongly discouraged as the load will be overwhelming. If you have a solid background in web development and want to intensify and challenge your knowledge, this could be an option.

Note: The number of members will not affect our grading criteria. That is, your submission will be graded the same way, regardless of how many team members are there.

Mentor sessions

For each phase, you can sign up for two mentor sessions with a TA to discuss your ideas, ask questions, or seek help on any project-related issue. You must already have registered your teams on Markus and use the Booking system to sign up for a session. Note that sessions have an availability interval. In other words, mentor session 1 is only available through the first week after the handout is released. Therefore, if you do not book one, you will lose one session and will not get two sessions in the next week. More details are explained on the booking system's docs.

Interviews

Each phase will be graded separately through interview sessions with TAs. You should use the same API to book your interview session. Please note that if you do not book a session, you will get no marks for that phase. All team members must be present at the meeting, and the absent members will not get any marks for the phase. Time intervals associated with the mentor sessions and interviews will be announced on Piazza.

Submission

You should submit your work to your group's git repository on Markus. That is, you cannot submit through its normal web interface. Instead, commit and push your codes to your repository for each phase. Find out your repo's URL by logging into Markus. Note that there is a separate repository for each phase.

Moreover, commit your changes now and then, and do not leave your commits to the very last minutes before the deadline. Correct use of git is a part of your assessment for this course.

It is recommended that you test your code on Firefox (95 or above) or Google Chrome (96 or above). You might probably not want to risk it by using Internet Explorer, Opera, or other things.

Participation

Each team member must do a fair amount of work on this project. We will assess each member's participation by investigating the commits they created and asking detailed questions about the code at the interviews. Even though it is a group project, your final grade is individual.


Project description

The following paragraphs describe the features that should be included in Restify. Note that these are the full set of features, and you are NOT asked to implement all of them at phase 1. More details on phase one's deliverables come in an upcoming section. As stated earlier, features are explained in terms of user stories, in a non-technical form, and from an imaginary user's point of view. You should not expect the same level of detail as assignments. Details that are not discussed below are left out to you, and you get to design them. Your final grading will be done mostly based on the overall functionality of your website as if the stakeholder is testing your application.

User stories

    Accounts

  • As a user, I can sign up, log in, log out, and edit my profile. Profile information should include first and last name, email, avatar, and phone number.
  • Restaurant creation & administration

  • As a user, I can create at most one restaurant, of which I will become the owner. A restaurant is generally created by specifying its name, address, logo, address, postal code, and phone number.
  • As an owner, I want to add/update the menu of my restaurant. A menu is effectively a list of food items, their descriptions, and prices.
  • As an owner, I can edit the general information of my restaurant and add/remove pictures to it.
  • As an owner, I can add/remove blog posts to my restaurant.
  • Restaurants info & search

  • As a user, I want to search through restaurants by their name, foods, or address. Most popular restaurants should come up first in the results.
  • As a user, I can select a restaurant and move to its page, where I can see its general information, images, number of followers, likes, menu, blog posts, and comments.
  • Social network

  • As a user, I can like/unlike a restaurant or one or more of its blog posts.
  • As a user, I can follow/unfollow a restaurant. The restaurant page should indicate whether I have already followed or liked that restaurant.
  • As a user, I want to have a feed that lists the blog posts of all restaurants that I follow, showing the newest posts on the top. This feed is not bound to a specific restaurant. It is a separate page from the blog post section of a restaurant.
  • As a user, I can post a comment on a restaurant. The comment is about the entire restaurant, not a specific blog post.
  • Notifications

  • As an owner, I want to see notifications. I want to be notified when someone follows, likes, and posts a comment on my restaurant. Likes could be either to the whole restaurant or a specific blog post.
  • As a user, I want to see notifications. I want to be notified when a restaurant I follow makes a new blog post or updates its menu.

Phase 1 deliverables

For phase 1, you are to implement most of the HTML/CSS of your project. Your final deliverable for this website is a static demo of Restify. Your codes should only consist of HTML and CSS files, without any backend/frontend servers. You should not implement any JS logic at this phase, except for JS files that are imported from external sources. Also, note that you will need to refactor your files when you migrate to React at phase 3. You can find an example of static demos here. A static demo showcases the design of the pages by filling them up with some random test data. Forms and buttons do not send any request, but the links point to various pages included in the application.

Using a CSS framework (e.g., Bootstrap, Semantic, Bulma) is strongly recommended as plain CSS will take enormous hours to implement and debug. However, since it is a static website at this stage, you cannot use any frontend framework, including any React-dependent CSS framework.

The detailed structure or the exact number of pages is up to you. However, your website should be navigable. That is, different pages should be connected to each other through clickable links and buttons. The general structure follows:

  • All pages should have a navbar that includes relevant information such as links to home, feed, log out, my restaurant's page, a dropdown for the list of notifications, and another dropdown that shows the user's profile and includes a link to the edit profile page.
  • The index page is the restaurant search page. To showcase the search result page, you should include some test restaurant cards, as well as the search bar for the demo.
  • Cards must be clickable and point to the restaurant page, including various tabs such as general information and images, menu, blog posts, and comments. You can design tab contents in a way that fits your website the most. It should contain the mentioned information about the restaurant. It is ok if different cards link to the same restaurant page for the demo.
  • The feed page, as well as the blog post page, should include a list of test blog post items with like buttons.
  • You should also include various form pages: login, signup, edit profile, add/edit restaurant, add/edit menu, and add a blog post. Restaurant forms must be reachable through the restaurant page. That is, for the demo, we assume that the restaurant page is always accessed from the owner's view. Edit profile must be accessible through the navbar. However, since we assume that the demo is from the perspective of a logged-in user, you can leave the login and signup forms disconnected from the rest.

Note 1: you should make your website as beautiful as possible and provide a smooth user experience even at the demo. Your website will be tested only on desktop monitors, but the actual screen size could vary. So it is your responsibility to make sure that your application renders well on various desktop screen sizes.

Note 2: your grade will consist of various factors, including how good your UI design is, whether requirements have been correctly implemented, and your understanding of the code. Note that the above list is just the general structure, and they are by no means the full set of requirements for phase 1. You should always think that your website is eventually going to include all the user stories described above. So it will be assessed that way.

Note 3: as potentially ambiguous as the handout gets, you can ask your questions on Piazza or discuss them with TAs at mentor sessions. Phase 1 will be graded leniently, and you will be informed about what you did wrong or was missing.


Comments

  • This is my fourth time taking CSC309, and inarguably, this is the best assignment I've ever seen.
    Problems are so accurately designed that anyone with their own knowledge and experience have their own takeaways.
    I hope next assignments will be this good, too!

    • Thanks bro!

Write a comment
Your email address will not be published. Required fields are marked *
Review*
Name*
Email*
Notify me of new posts by email