-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost.html
More file actions
75 lines (52 loc) · 3.29 KB
/
Copy pathpost.html
File metadata and controls
75 lines (52 loc) · 3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<title>Post Name</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1" />
<link href="https://fonts.googleapis.com/css2?family=Russo+One&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="default.css">
<style type="text/css">
.img-container{
max-width: 600px;
float: right;
padding-top: 100px;
}
img{
width: 100%
}
</style>
</head>
<body>
<div class="nav-wrapper">
<!-- Link around dots-wrapper added after tutorial video -->
<a href="index.html">
<div class="dots-wrapper">
<div id="dot-1" class="browser-dot"></div>
<div id="dot-2" class="browser-dot"></div>
<div id="dot-3" class="browser-dot"></div>
</div>
</a>
<ul id="navigation">
<li><a href="index.html#contact">Contact</a></li>
</ul>
</div>
<div class="main-container">
<br>
<div class="img-container">
<img src="images/Django.png">
</div>
<h3>Django Project</h3>
<p>The django project which i did recently was making an API for an advisor network where users can come and book an advisor for a call...</p>
<p>And i started building my first project on Django</p>
<h5>Technologies:</h5>
<ul>
<li>- Python</li>
<li>- Django + Django REST Framework</li>
</ul>
<p>The APIs created for the project: <br>
 i.Admin <br>   1.API: Add an advisor <br>    a.Method: <br>     i.POST <br>    b.Authentication <br>     i.Not needed for this assignment <br>    c.Endpoint: <br>     i./admin/advisor/ <br>    d.Request: <br>     i.Advisor name <br>     ii.Advisor Photo URL <br>    e.Response: <br>     i.No Response <br>     ii.Just return 200_OK if the requestis successful <br>     iii. Return 400_BAD_REQUEST ifany of the above fields are missing <br>  ii.User <br>   1.API: Can register as a user <br>    a.Method: <br>     i.POST <br>    b.Endpoint: <br>     i./user/register/ <br>    c.Request: <br>     i.Name <br>     ii.Email <br>     iii.Password <br>    d.Response: <br>     i. Body: <br>      1. JWT Authentication Token <br>      2. User id <br>     ii. Status <br>      1. 200_OK if the request issuccessful <br>      2. 400_BAD_REQUEST ifany of the above fields aremissing</p>
<p>After creating this ADMIN and User registration process, the log-in for the User and the admin to get the list of advisors page wsa developed... <br> After that a page to book a call with an advisor interphase was developed</p>
</div>
</body>
</html>