-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.md
216 lines (138 loc) · 7.65 KB
/
README.md
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<p id="top" align="center">
<a href="https://private-app.prathmeshsoni.works" target="_blank">
<img src="static/admin/folder/images/logo-private-app.png" alt="Logo" width="300" height="100">
</a>
</p>
<h1 align="center" class="dotted">
<a href="https://private-app.prathmeshsoni.works" target="_blank">Private App</a>
</h1>
<br>
<p align="center">
<img src="https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white&style=for-the-badge" />
<img src="https://img.shields.io/badge/Django-092E20?logo=django&logoColor=white&style=for-the-badge" />
<img src="https://img.shields.io/badge/Google%20Drive%20API-4285F4?logo=Google+Drive&logoColor=white&style=for-the-badge" />
<img src="https://img.shields.io/badge/SQL%20Server-CC2927?logo=microsoft-sql-server&logoColor=white&style=for-the-badge" />
<img src="https://img.shields.io/badge/Html5-E34F26?logo=html5&logoColor=white&style=for-the-badge" />
<img src="https://img.shields.io/badge/Css3-1572B6?logo=css3&logoColor=white&style=for-the-badge" />
<img src="https://img.shields.io/badge/Bootstrap-563D7C?logo=bootstrap&logoColor=white&style=for-the-badge" />
<img src="https://img.shields.io/badge/Github-181717?logo=github&logoColor=white&style=for-the-badge" />
<a href="https://github.com/PrathmeshSoni">
<img src="https://badges.pufler.dev/visits/prathmeshsoni/Private-App?label=VISITOR&style=for-the-badge&logoColor=FFFFFF&color=purple&labelColor=640464&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IndoaXRlIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBjbGFzcz0ib2N0aWNvbiBvY3RpY29uLWV5ZSIgYXJpYS1oaWRkZW49InRydWUiPjxwYXRoIGQ9Ik04IDJjMS45ODEgMCAzLjY3MS45OTIgNC45MzMgMi4wNzggMS4yNyAxLjA5MSAyLjE4NyAyLjM0NSAyLjYzNyAzLjAyM2ExLjYyIDEuNjIgMCAwIDEgMCAxLjc5OGMtLjQ1LjY3OC0xLjM2NyAxLjkzMi0yLjYzNyAzLjAyM0MxMS42NyAxMy4wMDggOS45ODEgMTQgOCAxNGMtMS45ODEgMC0zLjY3MS0uOTkyLTQuOTMzLTIuMDc4QzEuNzk3IDEwLjgzLjg4IDkuNTc2LjQzIDguODk4YTEuNjIgMS42MiAwIDAgMSAwLTEuNzk4Yy40NS0uNjc3IDEuMzY3LTEuOTMxIDIuNjM3LTMuMDIyQzQuMzMgMi45OTIgNi4wMTkgMiA4IDJaTTEuNjc5IDcuOTMyYS4xMi4xMiAwIDAgMCAwIC4xMzZjLjQxMS42MjIgMS4yNDEgMS43NSAyLjM2NiAyLjcxN0M1LjE3NiAxMS43NTggNi41MjcgMTIuNSA4IDEyLjVjMS40NzMgMCAyLjgyNS0uNzQyIDMuOTU1LTEuNzE1IDEuMTI0LS45NjcgMS45NTQtMi4wOTYgMi4zNjYtMi43MTdhLjEyLjEyIDAgMCAwIDAtLjEzNmMtLjQxMi0uNjIxLTEuMjQyLTEuNzUtMi4zNjYtMi43MTdDMTAuODI0IDQuMjQyIDkuNDczIDMuNSA4IDMuNWMtMS40NzMgMC0yLjgyNS43NDItMy45NTUgMS43MTUtMS4xMjQuOTY3LTEuOTU0IDIuMDk2LTIuMzY2IDIuNzE3Wk04IDEwYTIgMiAwIDEgMS0uMDAxLTMuOTk5QTIgMiAwIDAgMSA4IDEwWiI+PC9wYXRoPjwvc3ZnPg==">
</a>
</p>
Leveraging the Google Drive API, this dynamic web application revolutionizes photo and video management through chronological date-based notes.
# Live Demo 👇:
<a href="https://private-app.prathmeshsoni.works" target="_blank">private-app.prathmeshsoni.works</a>
<br>
## Table Of Contents :
* [About the Project](#About-The-Project)
* [Technologies Used](#technologies-used)
* [Features](#Features)
* [Getting Started](#Getting-Started)
* [Prerequisites](#Prerequisites)
* [Installation](#installation)
* [Credentials](#Default-Credentials)
* [Screenshots](#Screenshots)
* [Connect Me](#Connect-with-me-at)
## About The Project
![Screen Shot](/static/admin/folder/images/pretty-snap-25-09-2023.png)
Welcome to the Private App repository! This dynamic web application revolutionizes photo and video management through chronological date-based notes. Crafted with precision using Django, it offers a seamless and delightful user experience.
## Technologies Used
- Backend: Powered by Python and Django for robust functionality.
- Media Management: Leveraging Google's API (Google-API-Python-Client & Google-Cloud) for seamless media handling.
- Frontend: HTML, CSS, and Bootstrap create an intuitive and visually appealing user interface.
- Interactivity: JavaScript, jQuery, and AJAX add interactivity for an enhanced user experience.
- Database: MySQL ensures reliability and scalability.
## Features
- User Authentication: Secure login and registration for a personalized shopping experience.
- Chronological Brilliance: Efficiently manage photos and videos, neatly organized by date and time.
- Google Drive Integration: Seamlessly upload and download media using Google Drive API for enhanced accessibility.
## Getting Started
This is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.
### Prerequisites
Install Python 3.7 or above
* <a href="https://python.org/downloads/" target="_blank">Python</a>
### Installation
> 👉 **Step 1** - Download the code from the GH repository (using `GIT`):
```bash
git clone https://github.com/prathmeshsoni/Private-App.git && cd Private-App
```
<br />
> 👉 **Step 2** - Create virtual environment:
```
python -m venv .venv
```
<br />
> 👉 **Step 3** - Activating the environment:
on Windows:
```bash
.venv\Scripts\activate.bat
```
on Mac OS / Linux:
```bash
source .venv\Scripts\activate
```
<br />
> 👉 **Step 4** - Installing dependencies:
```bash
pip install -r requirements.txt
```
<br />
> 👉 **Step 5** - You can now run the development server:
```bash
python manage.py runserver
```
Visit [`http://127.0.0.1:8000`](http://localhost:8000) in your browser. The app should be up & running.
<br />
> 👉 **Step 6** - Go `config.py` Not Necessary:
Go to the `config.py` file on the Private-App folder (`/private_info/config.py`) setting all requirements after "=".
```
# For sending email to users during registration or password recovery
email = ""
password = ""
# Set the Google Drive folder ID where uploaded photos will be stored
google_drive_folder_id = ""
```
<br>
> 👉 **Step 7** - Configure Google Drive API credentials.
Create a new project on Google Cloud Console and enable Google Drive API. Create a new OAuth 2.0 client ID and download the credentials file. Rename the file to `client_secret.json` and place it in the
`/Private/token_file` folder.
Documentation: <a href="https://developers.google.com/drive/api/v3/quickstart/python" target="_blank">Google Drive API</a>
now you can run the Google.py file to get the token file.
```bash
cd Private && python Google.py
```
now rerun the server and you are good to go.
```bash
cd .. && python manage.py runserver
```
<br />
## Default Credentials
- **User Credentials:**
- Username: admin
- Password: admin@123
## Screenshots
Visit our <a href="https://private-app.prathmeshsoni.works/view/114" target="_blank">Screenshots Page</a> for a visual walkthrough of the Private App Website.
Demo Video 👇:
https://github.com/prathmeshsoni/Private-App/assets/78293392/a83fbc8c-8183-46d2-b969-e734797d34ad
<br />
The repository is a starting point for most of my professional projects; for this, I'm using it as a part of my portfolio, feel free to use it wherever you want. I'll be happy if you provide any feedback code improvements or suggestions.
## Connect with me at
<p align='center'>
<a href="https://www.linkedin.com/in/PrathmeshSoni/" target="_blank">
<img src="https://img.shields.io/badge/linkedin-%230077B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white" />
</a>
</p>
<p align='center'>
📫 How to reach me: <a href='mailto:connect.prathmeshsoni@gmail.com'>connect.prathmeshsoni@gmail.com</a>
</p>
## All Set :)
<p style="float:left;" align="left">
<a href="#top">Back To Top</a>
</p>
<p style="text-align:right;" align="right">
<a href="https://github.com/PrathmeshSoni/Private-App" target="_blank">Back To Repository</a>
</p>
---
**<a href="https://private-app.prathmeshsoni.works" target="_blank">Private App</a>** - Provided by **<a href="https://prathmeshsoni.works" target="_blank">Prathmesh Soni</a>**