Skip to content

Commit 0fd9264

Browse files
authored
Merge pull request #1 from dev-mdirfan/studybuddy
DevStudy v0.5 and v1.0 added
2 parents 725b7f4 + 489f817 commit 0fd9264

142 files changed

Lines changed: 4001 additions & 142 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
/studybud/env
2-
/backend/studybud/env
1+
# /studybud/env
2+
# /backend/studybud/env
3+
4+
env/
5+
*env/
6+
venv/
7+
*venv/
38

49

README.md

Lines changed: 36 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -1,151 +1,60 @@
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-
&nbsp;
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
392

40-
```
3+
## Description
414

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.
456

46-
```
7+
## Features
478

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)
5216

53-
# Then we create our virtual environment
54-
virtualenv env
55-
```
17+
## Technologies
5618

57-
--> Activate Env :
58-
```shell
59-
env\Scripts\activate
60-
```
19+
- Django
20+
- Django REST Framework
21+
- HTML
22+
- CSS
23+
- JavaScript
6124

62-
--> To do deactivate Env :
63-
```shell
64-
env\Scripts\deactivate
65-
```
25+
## Installation
6626

67-
--> Install the requirements :
68-
```bash
69-
pip install -r requirements.txt
27+
1. Clone the project to your local directory
7028

29+
```bash
30+
git clone
7131
```
7232

73-
**OR:**
74-
75-
--> Install Django :
76-
```shell
77-
pip install django
78-
```
33+
2. Create a virtual environment
7934

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
9437
```
9538

96-
> ⚠ Then, the development server will be started at http://127.0.0.1:8000/
39+
3. Activate the virtual environment
9740

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
10643
```
10744

45+
4. Install the dependencies
10846

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
11949
```
12050

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
12552

126-
admin.site.register(Room)
53+
```bash
54+
python manage.py runserver
12755
```
12856

57+
## License
12958

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+
```

devStudy-v0.5/base/__init__.py

Whitespace-only changes.
206 Bytes
Binary file not shown.
603 Bytes
Binary file not shown.
573 Bytes
Binary file not shown.
838 Bytes
Binary file not shown.
3.08 KB
Binary file not shown.
1.26 KB
Binary file not shown.
8.73 KB
Binary file not shown.

0 commit comments

Comments
 (0)