https://github.com/puravparab/chattrr
A social networking application
https://github.com/puravparab/chattrr
django javascript python react social-network web
Last synced: 2 months ago
JSON representation
A social networking application
- Host: GitHub
- URL: https://github.com/puravparab/chattrr
- Owner: puravparab
- License: mit
- Created: 2021-12-09T17:04:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T18:33:36.000Z (over 3 years ago)
- Last Synced: 2025-03-30T05:23:52.089Z (over 1 year ago)
- Topics: django, javascript, python, react, social-network, web
- Language: JavaScript
- Homepage:
- Size: 3.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CHATTRR
A social media application where users can blurt out their thoughts and listen to the world's chattrr.
INSTALLATION
|
LICENSE
|
SCREENSHOTS
# Installation:
Clone the respository
```
$ git clone https://github.com/puravparab/Chattrr.git
```
Change the working directory to Chattrr
```
$ cd Chattrr
```
Install pipenv to your machine
```
$ pip install --user pipenv
```
Install dependencies from Pipfile
```
$ pipenv install
```
Run the virtual environment
```
$ pipenv shell
```
Create a file called .env and copy contents from .envtemplate into it.
Update the entries in the .env file.
```
SECRET_KEY=
DEBUG=True
DJANGO_SETTINGS_MODULE=Chattrr.settings.dev
ALLOWED_HOSTS=localhost 127.0.0.1
ACCESS_TOKEN_LIFETIME= 7200
REFRESH_TOKEN_LIFETIME= 86400
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_STORAGE_BUCKET_NAME=
AWS_S3_FILE_OVERWRITE=False
```
Run the following commands
```
$ python manage.py migrate
$ python manage.py collectstatic
```
This completes the backend/server configuration.
---
For the next steps make sure node.js is and npm is installed.
You should have at least the following versions if node and npm ae installed.
```
$ node -v
v16.13.1
$ npm -v
v8.1.2
```
Install dependencies from package.json
```
$ npm install
```
Run the following command to create a production build
```
$ npm run build
```
This completes the frontend/client configuration.
---
Add a superuser to Django Admin
```
$ python manage.py createsuperuser
```
Run the server at http://127.0.0.1:8000 or http://localhost:3000
```
$ python manage.py runserver
```
---
# LICENSE
MIT License
Copyright (c) 2022 CHATTRR
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
---
Original Creator - [Purav Parab](https://github.com/puravparab)
---
# Screenshots
1. Timeline

2. Timeline

3. User Profile
