Previous Lecture lect04 Next Lecture

lect04, Tue 04/07

Tuesday Lecture: README.md Part 2

Homework for Thursday

Thursday’s topics

Breakout work today

Today, during your breakout sessions, you should accomplish the following tasks:

  1. In your README.md, add a line for which tech stack you are using, Next.js or Spring Boot.
  2. Add some more detail about the plan for your app to your README.md
    • Minimum, a single paragraph that expands on the one-sentence description
    • Better: Instead of, or in addition to that, a list of user roles (see below), and few things that people in each user role can accomplish in your app
    • Even Better: go beyond that, and talk about roles and permissions

Add “Tech Stack” to your README.md

We’ve provided a lot of information for you already, and when we formed groups, we took tech stack preferences into account. So in most groups, there is likely to be a quick consensus on which tech stack to use. But you should still discuss the pros/cons of each, and share your preferences with one another.

If you have questions, or need guidance, ask the course staff (Prof. Conrad, Scott, Andrew L, Bryan T, Cole B., Kristin H, and Victor S.).

A single paragraph

For the second item, focus first on writing a single paragraph in which you go into a bit more detail about what you plan for your project.

This is NOT intended to be a full specification of what you are going to build. It is just an opportunity to briefly add a bit more detail that wouldn’t fit into the one-sentence description.

Then, consider user roles

How many different kinds of users are there, and what are their roles?

Examples:

Roles and Permissions

Think about the fact that your app will be available on the public internet. If your app allows user contributed content of any kind, there is the potential for inappropriate content (spam, or worse) to be added. One option is restrict your user base to folks with an @ucsb.edu login; we can provide example code for both Spring Boot and next.js that you can build on to add this feature to your app.

What will each different kind of user be able to do in your app?

Team Homework: .gitignore and LICENSE.md

Before Thursday’s lecture, as a team, please add a .gitignore and a LICENSE.md to your repo.

The .gitignore will depend on your tech stack choice.

For the LICENSE.md: