Side project I built using Django (a Tinder for baby names), and what I learned along the way
Hey everyone!
I wanted to share a side project I worked on last year and some of what I learned while building it.
The site itself is called "My Name Fairy" [https://www.mynamefairy.com](https://www.mynamefairy.com). It's a Tinder for baby names.
https://preview.redd.it/i1hpbrei0xb61.png?width=1999&format=png&auto=webp&s=2bd0fe053d25300373f1c5618c106e1d6ecba4ee
Here's a summary of the tech I used to build it:
* Django for BE (obviously :) )
* Nginx for the webserver and serving static assets
* Postgres for the DB
* Vue.js in some places (The [card swiping page](https://www.mynamefairy.com/swipe-names) and [account page](https://www.mynamefairy.com/accounts/me))
* Plain js in other places
* Sass for the styles
* Webpack to build the FE
* Docker/docker-compose for deployment
* Deployed on a digital ocean droplet. The Postgres DB is also a managed DB from DO.
* Amazon CloudFront for a CDN
I mostly started it as a way to learn some new tech (specifically Postgres, Vue, Sass, Webpack, Docker, Nginx and deploying) and it's been great for that. It's also been fun to build something from the ground up. I've always come into a project that's already established. Having to make everyone decision from the beginning was empowering and let me play with tech I wouldn't get to otherwise.
Here are some classes I took:
* [Advanced CSS and Sass](https://www.udemy.com/course/advanced-css-and-sass/) by Jonas Schmedtmann. This class is *awesome*. Seriously, I can't recommend
/r/Python
https://redd.it/kz8uxu
Hey everyone!
I wanted to share a side project I worked on last year and some of what I learned while building it.
The site itself is called "My Name Fairy" [https://www.mynamefairy.com](https://www.mynamefairy.com). It's a Tinder for baby names.
https://preview.redd.it/i1hpbrei0xb61.png?width=1999&format=png&auto=webp&s=2bd0fe053d25300373f1c5618c106e1d6ecba4ee
Here's a summary of the tech I used to build it:
* Django for BE (obviously :) )
* Nginx for the webserver and serving static assets
* Postgres for the DB
* Vue.js in some places (The [card swiping page](https://www.mynamefairy.com/swipe-names) and [account page](https://www.mynamefairy.com/accounts/me))
* Plain js in other places
* Sass for the styles
* Webpack to build the FE
* Docker/docker-compose for deployment
* Deployed on a digital ocean droplet. The Postgres DB is also a managed DB from DO.
* Amazon CloudFront for a CDN
I mostly started it as a way to learn some new tech (specifically Postgres, Vue, Sass, Webpack, Docker, Nginx and deploying) and it's been great for that. It's also been fun to build something from the ground up. I've always come into a project that's already established. Having to make everyone decision from the beginning was empowering and let me play with tech I wouldn't get to otherwise.
Here are some classes I took:
* [Advanced CSS and Sass](https://www.udemy.com/course/advanced-css-and-sass/) by Jonas Schmedtmann. This class is *awesome*. Seriously, I can't recommend
/r/Python
https://redd.it/kz8uxu
Mynamefairy
My Name Fairy
Think Tinder for names. Swipe through names until you find your match!
I created a simple app to monitor stock market and stay updated.
I am a Data Scientist with more statistics experience. Recently I am turning my attention to learn more of the coding aspects in a variety of use cases. As part of that, I created this simple webapp with a clean UI which
let's user choose a stock/company/ETF from NYSE and NASDAQ exchanges
shows prices across a chart with customizable time periods (1d/1mo/3mo/1y/2y/5y/10y/ytd)
shows options info table closest to stock price with color codes (green-ITM, white-OTM)
any recent news about the underlying organization
Its updated live. It uses the yfinance, finviz API for data, Plotly + Dash to create the visualization and Heroku platform for deployment.
Link to app: https://stock-app-vk94.herokuapp.com
Link to source code: https://github.com/vinaykale64/market-monitor
Link to developer guide: https://github.com/vinaykale64/market-monitor/blob/master/developer\_guide.md
/r/Python
https://redd.it/kzj9ys
I am a Data Scientist with more statistics experience. Recently I am turning my attention to learn more of the coding aspects in a variety of use cases. As part of that, I created this simple webapp with a clean UI which
let's user choose a stock/company/ETF from NYSE and NASDAQ exchanges
shows prices across a chart with customizable time periods (1d/1mo/3mo/1y/2y/5y/10y/ytd)
shows options info table closest to stock price with color codes (green-ITM, white-OTM)
any recent news about the underlying organization
Its updated live. It uses the yfinance, finviz API for data, Plotly + Dash to create the visualization and Heroku platform for deployment.
Link to app: https://stock-app-vk94.herokuapp.com
Link to source code: https://github.com/vinaykale64/market-monitor
Link to developer guide: https://github.com/vinaykale64/market-monitor/blob/master/developer\_guide.md
/r/Python
https://redd.it/kzj9ys
PyPI
yfinance
Download market data from Yahoo! Finance API
Created a Motion Detector!
Hi All, I am Yash. I am 10 years old. I have created a Number Name Finder.
I have used Tkinter library to do the same.
Repository Link - https://github.com/Yash-Varshney-Creativities/Numbers-to-Number-Names
Let's Have a quick preview: -
​
Processing img uytt8z1702c61...
Processing img kkalf52702c61...
Processing img k577fq1702c61...
Processing img rry7052702c61...
I hope, You liked it. Please Upvote and⭐ this repository and follow me.
Thanks
Yash Varshney
/r/Python
https://redd.it/kzqumn
Hi All, I am Yash. I am 10 years old. I have created a Number Name Finder.
I have used Tkinter library to do the same.
Repository Link - https://github.com/Yash-Varshney-Creativities/Numbers-to-Number-Names
Let's Have a quick preview: -
​
Processing img uytt8z1702c61...
Processing img kkalf52702c61...
Processing img k577fq1702c61...
Processing img rry7052702c61...
I hope, You liked it. Please Upvote and⭐ this repository and follow me.
Thanks
Yash Varshney
/r/Python
https://redd.it/kzqumn
GitHub
Yash-Varshney-Creativities/Numbers-to-Number-Names
Contribute to Yash-Varshney-Creativities/Numbers-to-Number-Names development by creating an account on GitHub.
Is there are any official Python certifications?
I am using python for years as Systems and DevOps Engineer but not as a developer so I am doing a scripting not Applications.
I am looking into a Python certification program so I can get official certificate and collect the required knowledge for that.
Your advices are appreciated.
Thank you in advance
/r/Python
https://redd.it/kzuu2r
I am using python for years as Systems and DevOps Engineer but not as a developer so I am doing a scripting not Applications.
I am looking into a Python certification program so I can get official certificate and collect the required knowledge for that.
Your advices are appreciated.
Thank you in advance
/r/Python
https://redd.it/kzuu2r
reddit
Is there are any official Python certifications?
I am using python for years as Systems and DevOps Engineer but not as a developer so I am doing a scripting not Applications. I am looking into a...
What did YOU do to learn python?
I always see Automate The Boring Stuff being recommended here, I just started it, and I was wondering if anyone else has any other things they used to learn
/r/Python
https://redd.it/kzvvhw
I always see Automate The Boring Stuff being recommended here, I just started it, and I was wondering if anyone else has any other things they used to learn
/r/Python
https://redd.it/kzvvhw
reddit
What did YOU do to learn python?
I always see Automate The Boring Stuff being recommended here, I just started it, and I was wondering if anyone else has any other things they...
🏆 A ranked list of awesome machine learning Python libraries. Updated weekly.
I thought the r/python subreddit might be interested in this project I just found!
https://github.com/ml-tooling/best-of-ml-python
If you like this, I do a weekly roundup of open source projects that includes an interview with one of the devs you can subscribe to.
/r/Python
https://redd.it/kzxtkb
I thought the r/python subreddit might be interested in this project I just found!
https://github.com/ml-tooling/best-of-ml-python
If you like this, I do a weekly roundup of open source projects that includes an interview with one of the devs you can subscribe to.
/r/Python
https://redd.it/kzxtkb
GitHub
GitHub - lukasmasuch/best-of-ml-python: 🏆 A ranked list of awesome machine learning Python libraries. Updated weekly.
🏆 A ranked list of awesome machine learning Python libraries. Updated weekly. - lukasmasuch/best-of-ml-python
Quick article on how customized class creation in python
https://medium.com/better-programming/how-to-create-custom-classes-in-python-without-going-meta-5e8bfa97be6e
/r/Python
https://redd.it/kzve0h
https://medium.com/better-programming/how-to-create-custom-classes-in-python-without-going-meta-5e8bfa97be6e
/r/Python
https://redd.it/kzve0h
Medium
How To Create Custom Classes in Python Without Going Meta
Build powerful Python metaclasses
Django Ecommerce Website with multiple vendors | Part 1
I posted about this series a week ago where I showed a demo of the project and gave a little bit information about it.
Here's some high lightes from part 1:
\-Installation and setup
\-Adding authentication for vendors
\-Making it possible for vendors to add products
\-Making it possible to view products
\-Adding a simple search
If you want to see the demo:
https://www.youtube.com/watch?v=jmc0gV6\_NE0
If you want to see the first part (1 hour and 30 minutes):
https://www.youtube.com/watch?v=FN3EfKC2i6M
Next part will be published soon. Here I will implement the cart functionality and implementing Stripe.
I hope this will be a great project for this community :-)
/r/django
https://redd.it/kzsxy5
I posted about this series a week ago where I showed a demo of the project and gave a little bit information about it.
Here's some high lightes from part 1:
\-Installation and setup
\-Adding authentication for vendors
\-Making it possible for vendors to add products
\-Making it possible to view products
\-Adding a simple search
If you want to see the demo:
https://www.youtube.com/watch?v=jmc0gV6\_NE0
If you want to see the first part (1 hour and 30 minutes):
https://www.youtube.com/watch?v=FN3EfKC2i6M
Next part will be published soon. Here I will implement the cart functionality and implementing Stripe.
I hope this will be a great project for this community :-)
/r/django
https://redd.it/kzsxy5
YouTube
Django Ecommerce Website With Multiple Vendors Tutorial | For Beginners | Pre-Release
In this video I'll tell you a little bit about my upcoming Django course. The project we're going to build in this video series will be called Interiorshop. In this Django tutorial series, we will build everything from scratch.
At the end of the series…
At the end of the series…
How to connect your flask application to AWS RDS with a CI/CD pipeline
https://www.youtube.com/watch?v=bi3r-VflWHk
/r/flask
https://redd.it/l013d4
https://www.youtube.com/watch?v=bi3r-VflWHk
/r/flask
https://redd.it/l013d4
YouTube
Flask to AWS ECS - Part 11: AWS RDS
Please consider supporting me on Patreon: https://www.patreon.com/programmingwithalex
GitHub link: https://github.com/alexanderdamiani/aws-ecs-demo
00:00 - Introduction
00:25 - AWS RDS
03:01 - Flask
08:35 - Pgadmin
10:48 - Creating database within RDS
13:41…
GitHub link: https://github.com/alexanderdamiani/aws-ecs-demo
00:00 - Introduction
00:25 - AWS RDS
03:01 - Flask
08:35 - Pgadmin
10:48 - Creating database within RDS
13:41…
RPN calculator in Python
Hey, I just published a project originally developed as solution to some interview challenge (less than 300 SLOC). It is a utility to compute generic expressions in RPN (Reverse Polish Notation).
https://github.com/mohamed--abdel-maksoud/rpn-calc
/r/Python
https://redd.it/l01zd4
Hey, I just published a project originally developed as solution to some interview challenge (less than 300 SLOC). It is a utility to compute generic expressions in RPN (Reverse Polish Notation).
https://github.com/mohamed--abdel-maksoud/rpn-calc
/r/Python
https://redd.it/l01zd4
GitHub
mohamed--abdel-maksoud/rpn-calc
RPN Calculator with CLI (originally developed as solution to some interview challenge) - mohamed--abdel-maksoud/rpn-calc
Looking for ways to extend my flask API
Hi,
I'm quite new to flask and have built my first API based off of a sample climate Kaggle dataset which basically:
\- Writes a .csv to a PostGRES db using pandas.
\- Exposes that db via get method to replicate a db query.
\- Allows for addition of a new record using a new function in a same repository class as above.
Now, I'm kind of stuck on how to update an existing record, for example a sample newly inserted record, with the
Any suggestions are appreciated and thanks for looking!
/r/flask
https://redd.it/l05o7e
Hi,
I'm quite new to flask and have built my first API based off of a sample climate Kaggle dataset which basically:
\- Writes a .csv to a PostGRES db using pandas.
\- Exposes that db via get method to replicate a db query.
\- Allows for addition of a new record using a new function in a same repository class as above.
Now, I'm kind of stuck on how to update an existing record, for example a sample newly inserted record, with the
id of 8599213. Here is my basic attempt on what I'm trying to do while conserving a model -> query repository -> resource model in place. Any suggestions are appreciated and thanks for looking!
/r/flask
https://redd.it/l05o7e
Kaggle
Climate Change: Earth Surface Temperature Data
Exploring global temperatures since 1750
Flask Coverage in Background Process
I am working on generating a code coverage report when running cypress tests against a flask server on a Github Action. I have that all working but now I am trying to instrument the server to get code coverage. It works locally but on the Github action I need to run the flask server in the background. When running the Flask server in the back ground it no longer generates a code coverage report.
/r/flask
https://redd.it/l084xj
I am working on generating a code coverage report when running cypress tests against a flask server on a Github Action. I have that all working but now I am trying to instrument the server to get code coverage. It works locally but on the Github action I need to run the flask server in the background. When running the Flask server in the back ground it no longer generates a code coverage report.
/r/flask
https://redd.it/l084xj
reddit
Flask Coverage in Background Process
I am working on generating a code coverage report when running cypress tests against a flask server on a Github Action. I have that all working...
Coding Julia in Linux. Sometimes one of my cells goes blank.
I am concerned that Jupiter notebooks has become unstable.
Sometimes all of the text in a cell goes blank. Or, it loses all of the Julia colored fonts. If I click it many times it might come back.
If I press CTRL-shift-“-“ like to split a cell then sometimes the cell gets its colour back and I can make that property propagate to other cells by merging into them using “merge cell above”. It has happened two or three times in the last month and it’s a massive heartsink.
It stays if I reboot, and copies from that notebook inherit the problem. So do notebooks if I copy and paste the text into an entirely clean notebook.
It’s enough to be out me off frankly.
What is this? How can I sort it?
It feels like a bug but maybe it’s a missed key stroke.
/r/JupyterNotebooks
https://redd.it/l0691z
I am concerned that Jupiter notebooks has become unstable.
Sometimes all of the text in a cell goes blank. Or, it loses all of the Julia colored fonts. If I click it many times it might come back.
If I press CTRL-shift-“-“ like to split a cell then sometimes the cell gets its colour back and I can make that property propagate to other cells by merging into them using “merge cell above”. It has happened two or three times in the last month and it’s a massive heartsink.
It stays if I reboot, and copies from that notebook inherit the problem. So do notebooks if I copy and paste the text into an entirely clean notebook.
It’s enough to be out me off frankly.
What is this? How can I sort it?
It feels like a bug but maybe it’s a missed key stroke.
/r/JupyterNotebooks
https://redd.it/l0691z
reddit
Coding Julia in Linux. Sometimes one of my cells goes blank.
I am concerned that Jupiter notebooks has become unstable. Sometimes all of the text in a cell goes blank. Or, it loses all of the Julia colored...
Tuesday Daily Thread: Advanced questions
Have some burning questions on advanced Python topics? Use this thread to ask more advanced questions related to Python.
If your question is a beginner question we hold a beginner Daily Thread tomorrow (Wednesday) where you can ask any question! We may remove questions here and ask you to resubmit tomorrow.
This thread may be fairly low volume in replies, if you don't receive a response we recommend looking at r/LearnPython or joining the Python Discord server at https://discord.gg/python where you stand a better chance of receiving a response.
/r/Python
https://redd.it/l07ahg
Have some burning questions on advanced Python topics? Use this thread to ask more advanced questions related to Python.
If your question is a beginner question we hold a beginner Daily Thread tomorrow (Wednesday) where you can ask any question! We may remove questions here and ask you to resubmit tomorrow.
This thread may be fairly low volume in replies, if you don't receive a response we recommend looking at r/LearnPython or joining the Python Discord server at https://discord.gg/python where you stand a better chance of receiving a response.
/r/Python
https://redd.it/l07ahg
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
I made a Twitter bot that is rude to you when you @ it
I wanted to learn a bit more about the Twitter API so I decided to make a bot that is rude/insults you when you @ it or reply to a tweet. I made this as a joke and it is not meant to hurt anybody, just a bit of fun with friends. Sometimes the bot hits the API rate limit so it only replies a couple of minutes later.
I would also like to add that the bot uses swear words, but like I said, it's all for fun.
Twitter: https://twitter.com/rudebot\_
Github: https://github.com/HeyImJ0hn/RudeBot
Feel free to follow it and @ it any time.
​
EDIT: If you have any rude things for my bot to say, shoot me a DM!
EDIT 2: First of all I wanna thank everyone for the support! This is truly amazing! I also wanna say that the bot does repeat itself quite often and I'm trying to improve that.
/r/Python
https://redd.it/l01yqv
I wanted to learn a bit more about the Twitter API so I decided to make a bot that is rude/insults you when you @ it or reply to a tweet. I made this as a joke and it is not meant to hurt anybody, just a bit of fun with friends. Sometimes the bot hits the API rate limit so it only replies a couple of minutes later.
I would also like to add that the bot uses swear words, but like I said, it's all for fun.
Twitter: https://twitter.com/rudebot\_
Github: https://github.com/HeyImJ0hn/RudeBot
Feel free to follow it and @ it any time.
​
EDIT: If you have any rude things for my bot to say, shoot me a DM!
EDIT 2: First of all I wanna thank everyone for the support! This is truly amazing! I also wanna say that the bot does repeat itself quite often and I'm trying to improve that.
/r/Python
https://redd.it/l01yqv
Twitter
Rude Bot (@rudebot_) | Twitter
The latest Tweets from Rude Bot (@rudebot_). @ me (or reply to me) and I'll be rude to you
If I don't reply instantly just wait a few minutes
DM me rude shit to say. Satire
If I don't reply instantly just wait a few minutes
DM me rude shit to say. Satire
RE-WX: A Python library for building modern native desktop applications with WXPython
https://github.com/chriskiehl/re-wx
/r/Python
https://redd.it/l04wm5
https://github.com/chriskiehl/re-wx
/r/Python
https://redd.it/l04wm5
GitHub
GitHub - chriskiehl/re-wx: A library for building modern declarative desktop applications in WX.
A library for building modern declarative desktop applications in WX. - GitHub - chriskiehl/re-wx: A library for building modern declarative desktop applications in WX.
Are there any other frameworks that come with a built in admin panel?
Just curious as to whether or not any other framework (python or otherwise) comes with a built in admin panel like Django, I googled but couldn't find anything.
/r/django
https://redd.it/l0ghrh
Just curious as to whether or not any other framework (python or otherwise) comes with a built in admin panel like Django, I googled but couldn't find anything.
/r/django
https://redd.it/l0ghrh
reddit
Are there any other frameworks that come with a built in admin panel?
Just curious as to whether or not any other framework (python or otherwise) comes with a built in admin panel like Django, I googled but couldn't...
Django Rest Framework: How to test that methods are not allowed on a specific endpoint?
Hello, I want to test that some specific methods are not allowed on a specific endpoint, for example I want the endpoint to be accessible through GET request but not CREATE, DELETE, UPDATE and PARTIAL\_UPDATE, etc.
This is the way im currently using but it seems a bit too verbose:
class RecipeTestCase(test.APITestCase):
def test_recipe_create_not_allowed(self):
response = self.client.post(self.list_url)
self.assertEqual(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
def test_recipe_delete_not_allowed(self):
response = self.client.delete(self.detail_url)
self.assertEqual(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
def test_recipe_update_not_allowed(self):
response = self.client.put(self.detail_url)
self.assertEqual(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
def test_recipe_partial_update_not_allowed(self):
/r/django
https://redd.it/l0eea1
Hello, I want to test that some specific methods are not allowed on a specific endpoint, for example I want the endpoint to be accessible through GET request but not CREATE, DELETE, UPDATE and PARTIAL\_UPDATE, etc.
This is the way im currently using but it seems a bit too verbose:
class RecipeTestCase(test.APITestCase):
def test_recipe_create_not_allowed(self):
response = self.client.post(self.list_url)
self.assertEqual(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
def test_recipe_delete_not_allowed(self):
response = self.client.delete(self.detail_url)
self.assertEqual(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
def test_recipe_update_not_allowed(self):
response = self.client.put(self.detail_url)
self.assertEqual(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
def test_recipe_partial_update_not_allowed(self):
/r/django
https://redd.it/l0eea1
reddit
Django Rest Framework: How to test that methods are not allowed on...
Hello, I want to test that some specific methods are not allowed on a specific endpoint, for example I want the endpoint to be accessible through...
ML Freelancing Platform Built with Flask
Hey everybody,
I've developed a platform in flask that lets freelancers/contract workers start working immediately on projects. The emphasis is on longer-term work and matches you to a company that needs a project done instantly. It basically guarantees that you get work based on what you're qualified to do, and allows you to spend a lot more time earning and a lot less time searching.
You can get paid/pay on an hourly, fixed price, or retainer model, whatever you currently operate on in whatever currency you prefer.
On the company side, you will find instant qualified matches to fill your hiring needs.
Would anybody be interested in trying it out? I would greatly appreciate any questions/suggestions btw.
/r/flask
https://redd.it/l0si8m
Hey everybody,
I've developed a platform in flask that lets freelancers/contract workers start working immediately on projects. The emphasis is on longer-term work and matches you to a company that needs a project done instantly. It basically guarantees that you get work based on what you're qualified to do, and allows you to spend a lot more time earning and a lot less time searching.
You can get paid/pay on an hourly, fixed price, or retainer model, whatever you currently operate on in whatever currency you prefer.
On the company side, you will find instant qualified matches to fill your hiring needs.
Would anybody be interested in trying it out? I would greatly appreciate any questions/suggestions btw.
/r/flask
https://redd.it/l0si8m
reddit
ML Freelancing Platform Built with Flask
Hey everybody, I've developed a platform in flask that lets freelancers/contract workers start working immediately on projects. The emphasis is...