https://github.com/brianruizy/favours
πΊπ€ Django back-end & web-app for Favours. A local marketplace for small-jobs, where users can commit to a posted favour in exchange for cash.
https://github.com/brianruizy/favours
commerce django django-application django-project local location-based python rest-api webapp
Last synced: about 2 months ago
JSON representation
πΊπ€ Django back-end & web-app for Favours. A local marketplace for small-jobs, where users can commit to a posted favour in exchange for cash.
- Host: GitHub
- URL: https://github.com/brianruizy/favours
- Owner: BrianRuizy
- License: mit
- Created: 2020-06-21T06:31:10.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T11:27:10.000Z (over 2 years ago)
- Last Synced: 2025-02-28T17:46:54.150Z (3 months ago)
- Topics: commerce, django, django-application, django-project, local, location-based, python, rest-api, webapp
- Language: HTML
- Homepage: https://www.favours.xyz
- Size: 699 KB
- Stars: 17
- Watchers: 3
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
[](https://gitter.im/favours-io/community#)
[](https://github.com/favours-io/favours/blob/master/LICENSE)
![]()
## About
A local marketplace where users post small-jobs (favours) in exchange for cash; currently in **beta**. Favours-io plays out in the domain of collaborative consumption. Need a favour? Or want to make some quick cash committing to a favour? The application aims at bringing local communities together by leveraging local connections you have through existing social networks. Open-source and free.
#### Components
This back-end codebase is found on on a [Linode](https://www.linode.com/) Linux server with SSH and firewalls (UFW) enabled. Running an Apache http server from Django's WSGI, and serving our static files on [AWS S3](https://aws.amazon.com/s3/). Kudos to [LetsEncrypt](https://letsencrypt.org/) for free SSL!
The goal is to then leverage Django's built-in REST API to be consumed by Flutter for native mobile application.## Getting Started
### Prerequisites
- Python 3.7+
- Pip (package manager)### Installing
1. Fork and clone repo to local system
2. Create local virtual environment inside project directory, and activate.
```bash
python -m venv envsource env/bin/activate # Linux/Mac
env/Scripts/activate # Windows
```3. Install dependencies
```bash
pip install -r requirements.txt
```4. Add new **.env** file, at project level.
Set DEBUG=True in dev. stage, and USE_S3=False to use local static files (.css, .js).
Else, you will require AWS IAM credentials```env
DEBUG=
SECRET_KEY=
AWS_STORAGE_BUCKET_NAME=favours-bucket
USE_S3=False
```5. Ready to go! Now run Django
Note: running the Django server without the *--settings=...dev* arg will use static files from S3 bucket
```bash
python manage.py runserver --settings=favours.settings.dev
```## Discussion
Discuss Favours-io in the open [Gitter chat](https://gitter.im/favours-io/community). Propose new ideas, or disuss any already existing features. All constructive conversation is welcomed!
## License
@ [MIT License](https://github.com/favours-io/favours/blob/master/LICENSE)