https://github.com/raphaelapeh/image-api
A Image API with Django, Django Rest Framework, Cloudinary and Tailwind
https://github.com/raphaelapeh/image-api
api cloudinary django django-filter django-rest-framework django-taggit django-tailwind streamlit
Last synced: about 2 months ago
JSON representation
A Image API with Django, Django Rest Framework, Cloudinary and Tailwind
- Host: GitHub
- URL: https://github.com/raphaelapeh/image-api
- Owner: RaphaelApeh
- Created: 2024-12-04T17:48:10.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-17T21:58:54.000Z (4 months ago)
- Last Synced: 2025-02-05T06:44:57.311Z (3 months ago)
- Topics: api, cloudinary, django, django-filter, django-rest-framework, django-taggit, django-tailwind, streamlit
- Language: Python
- Homepage:
- Size: 624 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## IMAGE API with Django, DJANGO_REST_FRAMEWORK, Cloudinary and Tailwind CSS
technologies: django, django rest framework , Cloudinary and Tailwind
## Project setup
- Create a virtual environment
```bash
python -m venv venv
```
- Activate the environment 🕹
- windows
```bash
.\venv\scripts\activate
```
- MacOs or Linux
```bash
source venv/bin/activate
```- install the requirements
```bash
pip install -r requirements.txt
```- set values in .env
```python
DJANGO_DEBUG=True
DJANGO_SECRET_KEY="django-secret-key"
CLOUDINARY_API_KEY="api-key"
CLOUDINARY_NAME="cloudinary-name"
CLOUDINARY_SECRET_KEY="cloudinary-secret-key"
```- working dir
```bash
cd src/
```
- Generate DJANGO_SECRET_KEY
```bash
python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
```- Migrate
```bash
python manage.py migrate
```- Run the server
```bash
python manage.py runserver
```