Emoticons server using Django
Project description
emodjis
Emojis is a work inspired from custom-emoji-server with the objective of using our Slack emoticons into Teams. The backend is only a part of the project and more is going on to use the service in Teams on the frontend side.
Dependencies
- Django for fast app development
- Django Rest Framework for APIs
- DRF Spectacular for API documentation
Install
pip install emodjis
Configure for development
settings.py
Add the following values to INSTALLED_APPS
[
"rest_framework",
"django_filters",
"drf_spectacular",
"corsheaders",
"emodjis",
]
Set SPECTACULAR_SETTINGS and REST_FRAMEWORK in your settings.
environment variables
Set the following environment variables (you can use a .env file)
SERVER_URL=http://127.0.0.1:8000
CORS_ALLOWED_ORIGINS=http://127.0.0.1:8000
CSRF_TRUSTED_ORIGINS=http://127.0.0.1:8000
DB_ENGINE=django.db.backends.sqlite3
DB_NAME=emojis.sqlite3
DB_HOST=
DB_USER=
DB_PASSWORD=
DB_PORT=
DEBUG=True
ALLOWED_HOSTS=127.0.0.1
Configure for production
Add emodjis
to your INSTALLED_APPS migrate and collect static files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
emodjis-0.5.0.tar.gz
(14.8 kB
view details)
Built Distribution
emodjis-0.5.0-py3-none-any.whl
(20.6 kB
view details)
File details
Details for the file emodjis-0.5.0.tar.gz
.
File metadata
- Download URL: emodjis-0.5.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.11.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05995b1ebf261540caddf263a38f1f410c3ded3e7a2e7ab2abe7e4da7b7386ed |
|
MD5 | 78eeb660bd0008675115e8ce781368ae |
|
BLAKE2b-256 | 4cc0b780880fb173b424d98650a098edd5927f9f700fd351b37621235734a068 |
File details
Details for the file emodjis-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: emodjis-0.5.0-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.11.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a9d3b43edae0eb8c8a79ef18c451fbc6c18b84ac33dcdbe661ec5c502e877a |
|
MD5 | 9fac76ad19db9c04649cd20fe3abbb48 |
|
BLAKE2b-256 | 3fb4452e518f0cfbe0a3ddffbaad07c06a657adbc2ae663fc6148a555f072a93 |