I made a self-hosted full stack kanban-style webapp using Flask and Vue
Hi!
After almost half year I'm ready to share my project. I made a kanban-style webapp which inspired by Trello. Still need a proper project name though (I'm open to suggestions :-) ).
https://preview.redd.it/sbdlw9lrhmaa1.png?width=1920&format=png&auto=webp&s=2e9945b64c937b064027cb671cd48269af69428b
https://preview.redd.it/3acx41lrhmaa1.png?width=1920&format=png&auto=webp&s=3668132fc6ffe1fb03214d3ab9c2fc6c3afa3bec
Stack looks like this:
\- PostgreSQL as database engine
\- Flask as backend using Socket.IO too,
\- Vue 3 with Typescript for frontend (I'm still new to TS and not frontend expert yet)
It's currently on alpha state, check roadmap for planned features.
Project link on Github
/r/flask
https://redd.it/105ozjo
Hi!
After almost half year I'm ready to share my project. I made a kanban-style webapp which inspired by Trello. Still need a proper project name though (I'm open to suggestions :-) ).
https://preview.redd.it/sbdlw9lrhmaa1.png?width=1920&format=png&auto=webp&s=2e9945b64c937b064027cb671cd48269af69428b
https://preview.redd.it/3acx41lrhmaa1.png?width=1920&format=png&auto=webp&s=3668132fc6ffe1fb03214d3ab9c2fc6c3afa3bec
Stack looks like this:
\- PostgreSQL as database engine
\- Flask as backend using Socket.IO too,
\- Vue 3 with Typescript for frontend (I'm still new to TS and not frontend expert yet)
It's currently on alpha state, check roadmap for planned features.
Project link on Github
/r/flask
https://redd.it/105ozjo
Best IDE to practice python as a beginner?
As the title suggests, I am a complete beginner. Which IDE should I use to enhance my learning process?
/r/Python
https://redd.it/105tp9e
As the title suggests, I am a complete beginner. Which IDE should I use to enhance my learning process?
/r/Python
https://redd.it/105tp9e
reddit
Best IDE to practice python as a beginner?
As the title suggests, I am a complete beginner. Which IDE should I use to enhance my learning process?
Does anyone else constantly have problems with Conda conflicts?
Conda is a cool Python environment manager, but it also has some very opinionated ideas about what a valid environment is.
One issue I run into a lot is if you install a newer package on PIP, which works fine mind you. This usually causes a conflict like your current env requiring libgen 3.27, but the package you downloaded using 3.29 for example. At this point your whole conda is nuked and there’s no way to patch the conflict except try to roll back. You can’t just tell conda to mind it’s own business and ignore conflicts because it will never be able to resolve your environment ever again which is the first step of asking conda to do anything.
How would the fine folks at r/Python go about dealing with this?
/r/Python
https://redd.it/105qinj
Conda is a cool Python environment manager, but it also has some very opinionated ideas about what a valid environment is.
One issue I run into a lot is if you install a newer package on PIP, which works fine mind you. This usually causes a conflict like your current env requiring libgen 3.27, but the package you downloaded using 3.29 for example. At this point your whole conda is nuked and there’s no way to patch the conflict except try to roll back. You can’t just tell conda to mind it’s own business and ignore conflicts because it will never be able to resolve your environment ever again which is the first step of asking conda to do anything.
How would the fine folks at r/Python go about dealing with this?
/r/Python
https://redd.it/105qinj
reddit
Does anyone else constantly have problems with Conda conflicts?
Conda is a cool Python environment manager, but it also has some very opinionated ideas about what a valid environment is. One issue I run into a...
I scanned every package on PyPi and found 57 live AWS keys
https://tomforb.es/i-scanned-every-package-on-pypi-and-found-57-live-aws-keys/
/r/Python
https://redd.it/10525zo
https://tomforb.es/i-scanned-every-package-on-pypi-and-found-57-live-aws-keys/
/r/Python
https://redd.it/10525zo
My Infrastructure as Code Rosetta Stone - Deploying the same Django web application on AWS ECS Fargate with CDK, Terraform and Pulumi
https://briancaffey.github.io/2023/01/07/i-deployed-the-same-containerized-serverless-django-app-with-aws-cdk-terraform-and-pulumi/
/r/django
https://redd.it/105w9jf
https://briancaffey.github.io/2023/01/07/i-deployed-the-same-containerized-serverless-django-app-with-aws-cdk-terraform-and-pulumi/
/r/django
https://redd.it/105w9jf
briancaffey.github.io
My Infrastructure as Code Rosetta Stone - Deploying the same web application on AWS ECS Fargate with CDK, Terraform and Pulumi
Three reusable infrastructure as code libraries for abstracting containerized web app architecture on AWS ECS
Released a new update for my visual website builder, looking for some feedback!
https://reddit.com/link/105pm8v/video/slfg8d1cnmaa1/player
We posted in here a few months ago and got some awesome reception for our project, Nimbus. We're excited to announce the latest update to Nimbus, our visual website builder that exports to perfect React code (and more coming soon!). Built with Django, Nimbus makes it easy for developers of all levels to create and maintain professional websites.
With this update, we've added a couple of new features that we think users will find useful. First up, we've improved the user interface to make it even easier to use. We've also added one click previews, which allow you to see what your site will look like without having to constantly export. This should save you some time and make the building process even smoother.
The next thing we're going to work on is adding custom code so you never have to leave Nimbus when building a site. You'll be able to add custom functions, API calls, etc. right from Nimbus! It will take some time to develop but it's going to be awesome.
We hope you find these updates useful. As always, we appreciate your feedback and suggestions and feel free to ask me questions about how it works, I'm
/r/django
https://redd.it/105pm8v
https://reddit.com/link/105pm8v/video/slfg8d1cnmaa1/player
We posted in here a few months ago and got some awesome reception for our project, Nimbus. We're excited to announce the latest update to Nimbus, our visual website builder that exports to perfect React code (and more coming soon!). Built with Django, Nimbus makes it easy for developers of all levels to create and maintain professional websites.
With this update, we've added a couple of new features that we think users will find useful. First up, we've improved the user interface to make it even easier to use. We've also added one click previews, which allow you to see what your site will look like without having to constantly export. This should save you some time and make the building process even smoother.
The next thing we're going to work on is adding custom code so you never have to leave Nimbus when building a site. You'll be able to add custom functions, API calls, etc. right from Nimbus! It will take some time to develop but it's going to be awesome.
We hope you find these updates useful. As always, we appreciate your feedback and suggestions and feel free to ask me questions about how it works, I'm
/r/django
https://redd.it/105pm8v
How do I "flatten" a nested serializer in DRF?
We have a nested serializer that we would like to "flatten". But I'm not having much luck finding how to achieve this in the docs.
Here is the current output.
{
"user_inventory": "UOHvaxFa11R5Z0bPYuihP0RKocn2",
"quantity": 1,
"player": {
"card_id": "c69c0808328fdc3e3f3ee8b9b7d4a7f8",
"game": "MLB The Show 22",
"name": "Jesus Tinoco",
"all_positions": [
"CP"
]
}
}
Here is what I'd like:
{
"user_inventory": "UOHvaxFa11R5Z0bPYuihP0RKocn2",
"quantity": 1,
"card_id": "c69c0808328fdc3e3f3ee8b9b7d4a7f8",
"game": "MLB
/r/django
https://redd.it/1061nro
We have a nested serializer that we would like to "flatten". But I'm not having much luck finding how to achieve this in the docs.
Here is the current output.
{
"user_inventory": "UOHvaxFa11R5Z0bPYuihP0RKocn2",
"quantity": 1,
"player": {
"card_id": "c69c0808328fdc3e3f3ee8b9b7d4a7f8",
"game": "MLB The Show 22",
"name": "Jesus Tinoco",
"all_positions": [
"CP"
]
}
}
Here is what I'd like:
{
"user_inventory": "UOHvaxFa11R5Z0bPYuihP0RKocn2",
"quantity": 1,
"card_id": "c69c0808328fdc3e3f3ee8b9b7d4a7f8",
"game": "MLB
/r/django
https://redd.it/1061nro
reddit
How do I "flatten" a nested serializer in DRF?
We have a nested serializer that we would like to "flatten". But I'm not having much luck finding how to achieve this in the docs. Here is the...
How do you guys host your Django apps?
Hey guys, I recently picked up Django and just finished my first small web app. I ended up hosting it on Digital Ocean App Platform but had trouble setting up a cron job to run some scripts periodically (app platform doesn't have crontab and you can't install it with apt-get).
To avoid such issues down the line I'm considering switching to another platform for hosting. What platforms have you guys had success with and would recommend?
/r/django
https://redd.it/105mcot
Hey guys, I recently picked up Django and just finished my first small web app. I ended up hosting it on Digital Ocean App Platform but had trouble setting up a cron job to run some scripts periodically (app platform doesn't have crontab and you can't install it with apt-get).
To avoid such issues down the line I'm considering switching to another platform for hosting. What platforms have you guys had success with and would recommend?
/r/django
https://redd.it/105mcot
reddit
How do you guys host your Django apps?
Hey guys, I recently picked up Django and just finished my first small web app. I ended up hosting it on Digital Ocean App Platform but had...
Family Tree
Hello guys, I wanted to create a little project for myself. I wanted to create different interactive family trees (ex.: Simpsons, Game of Thrones, Naruto , etc). Could find any resources of where and how to start. Are they any tips you could give me?
/r/django
https://redd.it/105y7co
Hello guys, I wanted to create a little project for myself. I wanted to create different interactive family trees (ex.: Simpsons, Game of Thrones, Naruto , etc). Could find any resources of where and how to start. Are they any tips you could give me?
/r/django
https://redd.it/105y7co
reddit
Family Tree
Hello guys, I wanted to create a little project for myself. I wanted to create different interactive family trees (ex.: Simpsons, Game of Thrones,...
Error with docker and heroku hosting
Hello everyone, I'm trying to build a django app and host it on heroku & my home server using docker, I build a new one with truenas scale, when I'm trying to push the files to heroku the error "App not compatible with buildpack" comes and I don't know why and no tutorial worked with me, same thing with docker not working with me and just gives errors, I creat requirements.txt and still errors, help me please
/r/django
https://redd.it/105y5g4
Hello everyone, I'm trying to build a django app and host it on heroku & my home server using docker, I build a new one with truenas scale, when I'm trying to push the files to heroku the error "App not compatible with buildpack" comes and I don't know why and no tutorial worked with me, same thing with docker not working with me and just gives errors, I creat requirements.txt and still errors, help me please
/r/django
https://redd.it/105y5g4
reddit
Error with docker and heroku hosting
Hello everyone, I'm trying to build a django app and host it on heroku & my home server using docker, I build a new one with truenas scale, when...
Any free apps that allow custom html page creation?
I am looking for a way to create new pages in my django project through the admin panel. So I will log into admin panel and go to the section to create a new page. I will put in the title to the page and then be given a text area where I can put HTML or possibly have a WYSIWYG editor. After I save then it will create a new html page. Then I add the page to my header and it navigates to it.
Sort of like a blog but I am making new web pages instead of posts.
This is to prevent me from having to manually create a new html file in the server and make changes to it. I want to be able to handle it all from the Django admin panel.
/r/django
https://redd.it/105vkd9
I am looking for a way to create new pages in my django project through the admin panel. So I will log into admin panel and go to the section to create a new page. I will put in the title to the page and then be given a text area where I can put HTML or possibly have a WYSIWYG editor. After I save then it will create a new html page. Then I add the page to my header and it navigates to it.
Sort of like a blog but I am making new web pages instead of posts.
This is to prevent me from having to manually create a new html file in the server and make changes to it. I want to be able to handle it all from the Django admin panel.
/r/django
https://redd.it/105vkd9
reddit
Any free apps that allow custom html page creation?
I am looking for a way to create new pages in my django project through the admin panel. So I will log into admin panel and go to the section to...
All authentication errors from djoser and and simplejwt, how can get them?
We're working on our product and now we need to show these authentication errors to our users (and since our product is bilingual, we may go through some translations and stuff.
I searched a lot and most of the results were dedicated to how to resolve the auth error and not a well-crafted list of those errors. Is there any list of django, djoser and simplejwt errors?
Thanks.
/r/django
https://redd.it/105kqh9
We're working on our product and now we need to show these authentication errors to our users (and since our product is bilingual, we may go through some translations and stuff.
I searched a lot and most of the results were dedicated to how to resolve the auth error and not a well-crafted list of those errors. Is there any list of django, djoser and simplejwt errors?
Thanks.
/r/django
https://redd.it/105kqh9
reddit
All authentication errors from djoser and and simplejwt, how can...
We're working on our product and now we need to show these authentication errors to our users (and since our product is bilingual, we may go...
Djnago chess app, won’t update page ws/game/room_code not found. Do i need another packages then websocket, channels-redis for this?
/r/django
https://redd.it/106fgqb
/r/django
https://redd.it/106fgqb
Search-as-you-type in Django/Django Rest Framework, how would you implement it?
I'm currently exploring a lower level stuff (sockets etc.) as I assume the best way would be to send a request with the `Connection: keep-alive` header and reuse that connection instead of opening and closing one for each character, however it looks like that's not so simple as there is no support for the `Keep-Alive` header in Gunicorn (at least for sync workers). Another idea is to use Django-Channels and WebSocket (although it doesn't make sense as my app won't be listening/waiting for anything other than a single response), is there any good resource about this problem (Keep-Alive, setting async workers, using async workers for a specific endpoint etc.) in relation to Django/Gunicorn?
I also have a different question, how would that look like (let's say I'm going with WebSocket) on a single CPU VPS what's going on when let's say 80 users wants to use my app at the same time, I guess it is Django-Channels (Daphne) responsibility to open as many sockets as it needs and if there are too many they will just process requests/responses very slowly, but what about memory, how much does it consumes and does it just crashes if there are too many
/r/djangolearning
https://redd.it/10636ad
I'm currently exploring a lower level stuff (sockets etc.) as I assume the best way would be to send a request with the `Connection: keep-alive` header and reuse that connection instead of opening and closing one for each character, however it looks like that's not so simple as there is no support for the `Keep-Alive` header in Gunicorn (at least for sync workers). Another idea is to use Django-Channels and WebSocket (although it doesn't make sense as my app won't be listening/waiting for anything other than a single response), is there any good resource about this problem (Keep-Alive, setting async workers, using async workers for a specific endpoint etc.) in relation to Django/Gunicorn?
I also have a different question, how would that look like (let's say I'm going with WebSocket) on a single CPU VPS what's going on when let's say 80 users wants to use my app at the same time, I guess it is Django-Channels (Daphne) responsibility to open as many sockets as it needs and if there are too many they will just process requests/responses very slowly, but what about memory, how much does it consumes and does it just crashes if there are too many
/r/djangolearning
https://redd.it/10636ad
reddit
Search-as-you-type in Django/Django Rest Framework, how would you...
I'm currently exploring a lower level stuff (sockets etc.) as I assume the best way would be to send a request with the \`Connection: keep-alive\`...
Django SASS not updating custom bootstrap (development env)
I'm using django-compressor and django-libsass and have setup a scss file in mysite/static/theme/mytheme.scss
Inside the file I'm changing the primary colour to red for testing.
I'm using Wagtail so it's a multiple site but in my base.html I've added
````
{% compress css %}
<link rel="stylesheet" type="text/x-scss" href="{% static 'theme/' %}{{ current_site.site_name }}.scss" />
{% endcompress %}
````
It used to refresh automatically when I made any changes in mytheme.scss and everything used to work fine but it stopped working and I have a feeling it's when I ran collectstatic.
If I delete the static folder in the root directory it just generated the same CSS file in static/CACHE/css, the css file in there has old CSS in there that isn't updating.
I've tried:
python manage.py collectstatic --clear
python manage.py runserver --nostatic
python manage.py collectstatic --noinput --clear
python manage.py collectstatic --noinput --clear --no-post-process
I've also tried to collectstatic again in hopes it'll collect the changes but it doesn't.
I'm pretty new to this but hopefully that all makes sense.
/r/djangolearning
https://redd.it/1068r88
I'm using django-compressor and django-libsass and have setup a scss file in mysite/static/theme/mytheme.scss
Inside the file I'm changing the primary colour to red for testing.
I'm using Wagtail so it's a multiple site but in my base.html I've added
````
{% compress css %}
<link rel="stylesheet" type="text/x-scss" href="{% static 'theme/' %}{{ current_site.site_name }}.scss" />
{% endcompress %}
````
It used to refresh automatically when I made any changes in mytheme.scss and everything used to work fine but it stopped working and I have a feeling it's when I ran collectstatic.
If I delete the static folder in the root directory it just generated the same CSS file in static/CACHE/css, the css file in there has old CSS in there that isn't updating.
I've tried:
python manage.py collectstatic --clear
python manage.py runserver --nostatic
python manage.py collectstatic --noinput --clear
python manage.py collectstatic --noinput --clear --no-post-process
I've also tried to collectstatic again in hopes it'll collect the changes but it doesn't.
I'm pretty new to this but hopefully that all makes sense.
/r/djangolearning
https://redd.it/1068r88
Reddit
Django SASS not updating custom bootstrap (development env)
4 votes and 2 comments so far on Reddit
This media is not supported in your browser
VIEW IN TELEGRAM
i built the ultimate django rest authentication system including all features and more ... with all validation , also registeration with a code verfication via email and also authentication via email and facebook , if anybody need it just dm me
https://redd.it/105t6ko
@pythondaily
https://redd.it/105t6ko
@pythondaily
Cargo Shipping(export/import)
Hello good morning.i have this project i'm developing and its about exporting and importing like usps/dhl/ups. i have a feature that i want to add but i'm having an issue combining how it will work.
what i want is that i wan after a user to be able to track the list of items in their order like when a user has taken the items to be sent to another country, a shipping record should be created with tarcking number on it, and once a user clicks on that record on their dashboard, it should display all the items on that shipping on another page. and how can one add multiple items to an order using django forms. thats the issue i have and need clarity on. i'm using mvt.
/r/djangolearning
https://redd.it/104r44w
Hello good morning.i have this project i'm developing and its about exporting and importing like usps/dhl/ups. i have a feature that i want to add but i'm having an issue combining how it will work.
what i want is that i wan after a user to be able to track the list of items in their order like when a user has taken the items to be sent to another country, a shipping record should be created with tarcking number on it, and once a user clicks on that record on their dashboard, it should display all the items on that shipping on another page. and how can one add multiple items to an order using django forms. thats the issue i have and need clarity on. i'm using mvt.
/r/djangolearning
https://redd.it/104r44w
reddit
Cargo Shipping(export/import)
Hello good morning.i have this project i'm developing and its about exporting and importing like usps/dhl/ups. i have a feature that i want to add...
A question about mqtt
I used apps.py in one of my applications to spawn a worker that connects to mqtt broker and offload messages to a channel layer. Is this a good approach? It works and everything, I just want to know if it has hidden issues. Check my reply if you want more information.
/r/djangolearning
https://redd.it/104db85
I used apps.py in one of my applications to spawn a worker that connects to mqtt broker and offload messages to a channel layer. Is this a good approach? It works and everything, I just want to know if it has hidden issues. Check my reply if you want more information.
/r/djangolearning
https://redd.it/104db85
reddit
A question about mqtt
I used apps.py in one of my applications to spawn a worker that connects to mqtt broker and offload messages to a channel layer. Is this a good...
Sunday Daily Thread: What's everyone working on this week?
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/1063vg5
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/1063vg5
reddit
Sunday Daily Thread: What's everyone working on this week?
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your...
I created my own discord bot, which has multiple functions including AI(OpenAI API)!
Hi Not much really, I just made a discord bot that has multiple functions and can be fun for small discord servers and stuff(please self host lmao, the replit server is using the free tier and can't handle too many requests).
The features include:
1. chat with you, and answer all your questions.
2. allows you to create custom embeds.
3. allows you to create ascii art from your text.
4. can show the location of the iss.
5. show server member count(Commented out in code, cuz its pretty useless).
6. Show discord server information.
7. can digitally fake punch you.
8. can digitally fake kick you.
9. can digitally fake ban you.
10. do advanced level math, trigonometry & quadratic functions.
​
The source code here available here: https://replit.com/@SapphireKR/Robob-MK-II#main.py
if you would like to show support for my work, you can watch my youtube video demonstrating my bot here: https://www.youtube.com/watch?v=ybRPwztyOEs
and also sub to my channel if you can I guess ¯\\_(ツ)_/¯
​
Also don't forget, if you want to use the bot you will have to host it yourself on replit, since the current replit server I'm using is in the free tier and can't handle that many requests
and of course please generate your own api keys(forking won't take my api keys just
/r/Python
https://redd.it/106grra
Hi Not much really, I just made a discord bot that has multiple functions and can be fun for small discord servers and stuff(please self host lmao, the replit server is using the free tier and can't handle too many requests).
The features include:
1. chat with you, and answer all your questions.
2. allows you to create custom embeds.
3. allows you to create ascii art from your text.
4. can show the location of the iss.
5. show server member count(Commented out in code, cuz its pretty useless).
6. Show discord server information.
7. can digitally fake punch you.
8. can digitally fake kick you.
9. can digitally fake ban you.
10. do advanced level math, trigonometry & quadratic functions.
​
The source code here available here: https://replit.com/@SapphireKR/Robob-MK-II#main.py
if you would like to show support for my work, you can watch my youtube video demonstrating my bot here: https://www.youtube.com/watch?v=ybRPwztyOEs
and also sub to my channel if you can I guess ¯\\_(ツ)_/¯
​
Also don't forget, if you want to use the bot you will have to host it yourself on replit, since the current replit server I'm using is in the free tier and can't handle that many requests
and of course please generate your own api keys(forking won't take my api keys just
/r/Python
https://redd.it/106grra
replit
Robob MK II
Just code for my discord bot, hosted aswell.