Simple, open-source and self-hostable store finder.
When building the bulk location import feature for Mapzy, our open-source and self-hostable store finder, we wanted to provide a better import experience for our users. We wanted to spare them the pain of dealing with exporting files and choosing delimiters, and we wanted to make it simple for them to fix any import errors.
For the spreadsheet, we use the excellent Jspreadsheet library. If there are no errors, the import happens in two steps because importing a lot of locations requires a lot of calls to the Mapbox geocoding API (geocoding is converting an address to longitude and latitude), which is rate limited.
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
A library for bulk insertion of data into your database using ActiveRecord.
In the first step, we only validate if the information is all there and correctly formatted. For example, if a location name is missing, we highlight that error in the spreadsheet. If everything looks good, we save the locations to the database using the awesome Activerecord-Import library, but skip calling the geocoding API. Rather, we mark these locations as "to be geocoded".
Libre Endowment Fund: Sustainable Development of Free Software
1 project | news.ycombinator.com | 9 Oct 2021
How to show excel file in front end with edit and save functionality?
2 projects | reddit.com/r/django | 6 Jun 2021
Group & sort imports with EsLint
2 projects | reddit.com/r/Frontend | 26 Jul 2022
1 project | dev.to | 9 Jun 2022
Video – How I 100x'd Bulk Import Speed in Rails with Some Pretty Gnarly SQL
2 projects | reddit.com/r/ruby | 27 May 2022