Closed philectron closed 4 years ago
So far, I don't have any conflicts against master
except the database initialization script. I will take whatever comes out of #37.
Lots of conflicts with master. I will have to do a new round of testing in the morning to make sure no bugs were added while resolving conflicts.
He's gonna turn red annnnnyyyy seconds now..... Mergify is gonna merge any seconds now.
npm install
on the root of the repo. No need to install things in the client.npm run server
. Note the port that the server runs on, since we will need this later on.osuuid=YOUR_OSUUID_NUMBER
. Remember this 11-digit number for the next step.where
YOUR_PORT_HERE
is the port that the server is currently running on, andYOUR_OSUUID_NUMBER
is your 11-digit OSUUID number. Log in as usual.where
HOST
,USER
, andDB_NAME
are the latest MySQL credentials that Zak provided.where
YOUR_OSUUID_NUMBER
is your 11-digit OSUUID number.Once you insert some of your Plans successfully, try accessing the route
/user/YOUR_OSUUID_NUMBER/plans
again, whereYOUR_OSUUID_NUMBER
is your 11-digit OSUUID number.You should see a JSON result of the Plans you just inserted earlier.
Now, try accessing someone else's Plans. Try the same route again but with a different
userId
.It should show you a 403 Forbidden error, since you are a student and thus don't have access to other students' Plans.