Please sign in to access this page
A website that estimates how many shells you will get from a ship!
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I created a program that searches the MongoDB database from my previous devlogs and prints out the results. It uses fuzzy search (the $search operator that can be seen in the code in the video) which basically also returns matches even if they aren't exactly the same as the query. It then sorts it by relevance and includes pagination using this line:
skipcount = (page - 1) * pagesize
which is then passed to the project_collection.find() method
I changed the script to use async which fetches data concurrently and is much faster! (30 minutes down to around 3 minutes!!!) It also now uses bulk_write with mongodb, which is much more efficient and reduces the amount of connections needed.
I also got a nest account, which is where I will be hosting the backend (my next step is to make the front end)
I created a python script that uses the SOM projects api (https://summer.hackclub.com/api/v1/projects) to update a MongoDB collection with information about every project in Summer of Making. This data in the data base will then be used to calculate the estimated shell profit