|
1 | | -# Study Buddy - Chat Room Application |
2 | | - |
3 | | -<div align="center"> |
4 | | -<img width="30%" src="https://github.com/dev-mdirfan/StudyBuddy_chat_application/assets/95459570/9ce7a30c-a825-42df-a013-0e10a5d69981"> |
5 | | - |
6 | | -### App Preview : |
7 | | - |
8 | | -<table width="100%"> |
9 | | -<tr> |
10 | | -<td width="50%"> |
11 | | - |
12 | | -<br> |
13 | | -<p align="center"> |
14 | | - Feed Home |
15 | | -</p> |
16 | | -<img src="https://user-images.githubusercontent.com/72341453/134747262-0a92233d-8010-40f8-84c5-8d94895aac44.PNG"> |
17 | | -</td> |
18 | | -<td width="50%"> |
19 | | -<br> |
20 | | -<p align="center"> |
21 | | - Room Conversation Preview |
22 | | -</p> |
23 | | -<img src="https://user-images.githubusercontent.com/72341453/134747155-3ca5b55f-b064-4741-aeae-abe90bddf41e.PNG"> |
24 | | -</td> |
25 | | -</table> |
26 | | - |
27 | | -<h1>StudyBuddy</h1> |
28 | | -</div> |
29 | | - |
30 | | -- Resources - [Theme](fronend_theme/) |
31 | | -- Concepts - [Django Concepts](docs/concepts.md) |
32 | | -- Extensions - Atom One Dark Theme, Prettier, Auto Rename Tag |
33 | | - |
34 | | -### Cloning the repository |
35 | | - |
36 | | ---> Clone the repository using the command below : |
37 | | -```bash |
38 | | -git clone https://github.com/dev-mdirfan/StudyBuddy_chat_application.git |
| 1 | +# DevStudy - A chat room for developers |
39 | 2 |
|
40 | | -``` |
| 3 | +## Description |
41 | 4 |
|
42 | | ---> Move into the directory where we have the project files : |
43 | | -```bash |
44 | | -cd StudyBud |
| 5 | +DevStudy is a chat room for developers to discuss about programming languages, frameworks, libraries, etc. It is a place where developers can share their knowledge and learn from each other. |
45 | 6 |
|
46 | | -``` |
| 7 | +## Features |
47 | 8 |
|
48 | | ---> Create Virtual Environment : |
49 | | -```shell |
50 | | -# Let's install virtualenv first |
51 | | -pip install virtualenv |
| 9 | +- [x] User can sign up and sign in with email and password |
| 10 | +- [x] User can sign in with Google account |
| 11 | +- [x] User can create a new room |
| 12 | +- [x] User can join a room |
| 13 | +- [x] User can send messages in a room |
| 14 | +- [x] User can see the list of rooms (home feed) |
| 15 | +- [x] User can see the list of members in a room (all participants) |
52 | 16 |
|
53 | | -# Then we create our virtual environment |
54 | | -virtualenv env |
55 | | -``` |
| 17 | +## Technologies |
56 | 18 |
|
57 | | ---> Activate Env : |
58 | | -```shell |
59 | | -env\Scripts\activate |
60 | | -``` |
| 19 | +- Django |
| 20 | +- Django REST Framework |
| 21 | +- HTML |
| 22 | +- CSS |
| 23 | +- JavaScript |
61 | 24 |
|
62 | | ---> To do deactivate Env : |
63 | | -```shell |
64 | | -env\Scripts\deactivate |
65 | | -``` |
| 25 | +## Installation |
66 | 26 |
|
67 | | ---> Install the requirements : |
68 | | -```bash |
69 | | -pip install -r requirements.txt |
| 27 | +1. Clone the project to your local directory |
70 | 28 |
|
| 29 | +```bash |
| 30 | +git clone |
71 | 31 | ``` |
72 | 32 |
|
73 | | -**OR:** |
74 | | - |
75 | | ---> Install Django : |
76 | | -```shell |
77 | | -pip install django |
78 | | -``` |
| 33 | +2. Create a virtual environment |
79 | 34 |
|
80 | | ---> Create Project : |
81 | | -```shell |
82 | | -django-admin startproject studybud . |
83 | | -``` |
84 | | -- Most Useful Commands: |
85 | | - - makemigrations |
86 | | - - migrate |
87 | | - - runserver |
88 | | - - startapp |
89 | | - - startproject |
90 | | - |
91 | | ---> Run Server : |
92 | | -```shell |
93 | | -python manage.py runserver |
| 35 | +```bash |
| 36 | +python -m venv venv |
94 | 37 | ``` |
95 | 38 |
|
96 | | -> ⚠ Then, the development server will be started at http://127.0.0.1:8000/ |
| 39 | +3. Activate the virtual environment |
97 | 40 |
|
98 | | ---> Create App : |
99 | | -```shell |
100 | | -python manage.py startapp base |
101 | | -``` |
102 | | - |
103 | | ---> Before creating model run migrate : |
104 | | -```shell |
105 | | -python mana.py migrate |
| 41 | +```bash |
| 42 | +.\venv\Scripts\activate |
106 | 43 | ``` |
107 | 44 |
|
| 45 | +4. Install the dependencies |
108 | 46 |
|
109 | | ---> Create Model then Make Migration : |
110 | | -```shell |
111 | | -python manage.py makemigrations |
112 | | -# then |
113 | | -python manage.py migrate |
114 | | -``` |
115 | | - |
116 | | ---> Create Admin Dashboard Account : |
117 | | -```shell |
118 | | -python manage.py createsuperuser |
| 47 | +```bash |
| 48 | +pip install -r requirements.txt |
119 | 49 | ``` |
120 | 50 |
|
121 | | ---> Register Your Model to view in the admin panel : |
122 | | -```shell |
123 | | -from .models import Room |
124 | | -# Register your models here. |
| 51 | +5. Run the server |
125 | 52 |
|
126 | | -admin.site.register(Room) |
| 53 | +```bash |
| 54 | +python manage.py runserver |
127 | 55 | ``` |
128 | 56 |
|
| 57 | +## License |
129 | 58 |
|
130 | | - |
131 | | -#### Resources |
132 | | - |
133 | | -- Github Dennis Ivy [StudyBud](https://github.com/divanov11/StudyBud) |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
| 59 | +[MIT](https://choosealicense.com/licenses/mit/) |
| 60 | +``` |
0 commit comments