Skip to content

Commit 71f4cdc

Browse files
committed
updated readme
1 parent 1edb5d5 commit 71f4cdc

File tree

5 files changed

+78
-64
lines changed

5 files changed

+78
-64
lines changed

DJANGO PROJECTS/Chat/README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
# Django Chat System
1+
# Django Chat Application
22

3-
## Chat system build with Django and Channels
3+
## Overview
44

55
This a simple web application where you can chat in real time. User can send the message to other users available inside the room and read the other's messages.
66

7-
You can test it creating two accounts and opening one in browser and other in private browser. Then you will be able to see the messages .
7+
You can test it creating two accounts and opening one in browser and other in private browser. Then you will be able to see the messages .
8+
9+
## Libraries and Frameworks Used:
10+
1.Django == 3.0.2
11+
2.django-environ == 4.1.4
12+
3.channels == 3.0.4
13+
14+
## Screenshot
15+
![Screenshot](static/images/pic.png)
16+
17+

DJANGO PROJECTS/Chat/project/static/css/styles.css

Lines changed: 0 additions & 60 deletions
This file was deleted.

DJANGO PROJECTS/Chat/project/templates/base.html

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,68 @@
1010
<!-- CSS only -->
1111
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
1212
</head>
13-
13+
<style>
14+
.in{
15+
border-radius: 30px;
16+
}
17+
.gap-in{
18+
gap: 10px;
19+
}
20+
a{
21+
text-decoration: none;
22+
}
23+
.card{
24+
background-color: #5DADE2;
25+
padding: 20px;
26+
text-align: center;
27+
width: 30%;
28+
border-radius: 20px;
29+
margin-top: 5vh;
30+
}
31+
.new-btn{
32+
width: 50%;
33+
margin: 0 auto;
34+
}
35+
.user-card{
36+
margin-top: 20px;
37+
height: 60vh;
38+
gap: 10px;
39+
}
40+
.head{
41+
margin: 2vh;
42+
text-align: center;
43+
}
44+
.fixed-card{
45+
width: 100%;
46+
min-height: 40vh;
47+
margin-bottom: 1em;
48+
}
49+
.mini-card{
50+
width: 100%;
51+
background-color: #AED6F1;
52+
padding: 0;
53+
padding-left: 10px;
54+
text-align: left;
55+
margin: 0;
56+
margin-bottom: 3px;
57+
58+
}
59+
.msg{
60+
width: 80%;
61+
border-radius: 30px;
62+
background-color: #AED6F1;
63+
border-style: none;
64+
}
65+
.register-card{
66+
text-align: left;
67+
width: 40%;
68+
}
69+
.create{
70+
position: fixed;
71+
bottom: 5px;
72+
left: 5px;
73+
}
74+
</style>
1475
<body style="background-color: #AED6F1;">
1576
<nav class="navbar navbar-expand-lg" style="background-color: #5DADE2;">
1677
<div class="container-fluid">

DJANGO PROJECTS/Chat/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Django == 3.0.2
2+
django-environ == 4.1.4
3+
channels == 3.0.4
20.7 KB
Loading

0 commit comments

Comments
 (0)