Commit Graph

67 Commits

Author SHA1 Message Date
ddf8fd57a0 #61 Added assignment widget on course page 2023-04-14 14:59:14 -04:00
9be7abcd05 #53 Endpoint to get an assignment by id 2023-04-14 14:48:14 -04:00
27d2317e84 #57 CORS allow production url 2023-04-14 14:42:30 -04:00
0740f1f4ac #57 Use production env for docker 2023-04-14 14:30:53 -04:00
f513c31664 #57 Production backend url 2023-04-14 14:20:15 -04:00
c7797c9401 #57 Copy venv from container's cwd, not host 2023-04-14 14:02:10 -04:00
275f0f0914 #57 Added frontend env files for local and production. 2023-04-14 13:55:34 -04:00
c1a8f04dc7 #57 makeRequest uses env variable so all requests use the configuration 2023-04-14 12:55:43 -04:00
1f0e8ca905 #52 Create endpoint to get a course's assignments 2023-04-13 18:49:47 -04:00
389f71c2f8 #10 Made endpoint to create a new assignment 2023-04-13 18:46:54 -04:00
2b071d35c8 #10 Add due date column to assignment model 2023-04-13 18:35:51 -04:00
104370fb79 #10 Create assignment model 2023-04-13 18:32:09 -04:00
8670612259 Cleanup routes with AuthRoute 2023-04-13 18:18:30 -04:00
29e417c9d0 #45 Add student form, unenroll button 2023-04-13 18:07:06 -04:00
a6ae87abf2 #45 Added backend route to enroll student by username 2023-04-13 18:05:43 -04:00
4faecbd29c #45 Made manage student page. Doesn't call backend yet 2023-04-13 16:52:28 -04:00
542e8c232a #49 Add endpoint to get the students enrolled in a specific course 2023-04-13 16:45:39 -04:00
f0b101386b #44 Made manage page. Displays table of all courses that the instuctor is teaching 2023-04-13 16:11:33 -04:00
e07b5add79 #38 Made instructor specific links on the navbar 2023-04-13 15:02:41 -04:00
0db9844e77 Add instructor as an enrolled user to a course. Also change frontend to use instructor role instead of teacher 2023-04-13 14:51:40 -04:00
797b7235e9 Course widget now uses correct id field to navigate to course page 2023-04-13 14:38:04 -04:00
a2bc3567c5 #39 Added endpoint to get a specific course by id 2023-04-13 14:11:18 -04:00
24f6256703 #31 Added course page that querys backend for a specific course id 2023-04-13 14:10:26 -04:00
1dfa9c1421 #32 Remove dummy data. Modified makeRequest so it doesn't send body on GET 2023-04-06 23:10:38 -04:00
15d336ca53 #32 Fetch enrolled course data from backend and store the data 2023-04-06 23:10:38 -04:00
9c6b46f68f Add decorator that requirers the logged in user to be an instructor 2023-04-06 23:08:18 -04:00
d5d2d830cc #35 Added course code field to Course model. Updated class functions to reflect change. Also added duplicate checking for create course endpoint 2023-04-06 22:00:11 -04:00
dcb9111288 #6 Add mysql client requirement to requirements 2023-04-06 21:49:09 -04:00
a789c2eb83 #6 Refactored both functionalities to one function that accepts both request methods 2023-04-06 21:25:34 -04:00
b71c23d706 #6 Added unenroll endpoint by sending DELETE request to enroll endpoint 2023-04-06 19:06:44 -04:00
8ec489beb3 #6 Created route to enroll student into a course 2023-04-06 18:51:43 -04:00
0b392ab5b1 #11 Change route so that caller doesn't have to pass user_id through request body 2023-04-06 18:11:48 -04:00
84fb1e9f4b #11 Added endpoint to get enrolled courses 2023-04-06 16:40:56 -04:00
5beaf2dba4 #11 Added enrollment table and relationship between user/couse 2023-04-06 16:19:15 -04:00
12498c2ee8 #5 Create course endpoint. Added messages to all db migrations 2023-04-06 15:23:10 -04:00
20f0309c5c #5 Added course model 2023-04-06 15:00:10 -04:00
e4af6457b9 #28 Error handling for logout request 2023-04-06 14:40:17 -04:00
d1a35dd2c1 Changed widget layout. Also changed the dummy data 2023-03-23 16:41:46 -04:00
214b1c8657 #25 Moved sendLoginRequest and sendLogoutRequest to utils 2023-03-21 12:22:38 -04:00
b1f6d6b22c #24 Added courses widget with some dummy data 2023-03-20 22:17:52 -04:00
d05e0fb0e0 #21 Cleanup 2023-03-19 16:49:39 -04:00
f6e2b445d7 #21 Using wouter for navigation and links. Register page works by sending request to register endpoint 2023-03-19 16:34:44 -04:00
0d4c4facd5 #20 Made the page prettier 🙂 2023-03-19 15:15:30 -04:00
02835079ff #20 Made logout page 2023-03-19 15:15:22 -04:00
8b9bc96b93 #13 Got auth logic working 2023-03-19 14:55:51 -04:00
851a784aaa #13 Error alert formatting 2023-03-19 02:22:23 -04:00
abb1769c48 #13 Show error alert on invalid response 2023-03-19 02:18:18 -04:00
6e7e3e66f5 #13 Made login page that actually send request to backend. CORS stuff. 2023-03-19 02:10:12 -04:00
21428c520d #7 Docker container should be creating its own venv, not using host's venv. 2023-03-18 21:44:23 -04:00
18e651f8b9 #16 Added "role" required field for register endpoint 2023-03-18 21:44:23 -04:00