Navigation Menu

Skip to content

leandro/ceps-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simply Rack based application on top of Hobbit.

It's supposed to import CEPs (brazilian "zip codes") from ceps.txt file (it must contain one CEP per line) to a SQLite database, created on-demand, if non-existent.

This probably isn't useful for no one, but I'm putting it here nonetheless. I'm just helping a couple of friends that had this big raw text file with 5M CEP entries and wanted the piece of their website that is responsible to check if user's inserted CEPs are included in the list they have.

And this app is just a very tiny webservice that gets this big file and index all the CEPs in there into a SQLite database, in order to make the search faster.

For me, this is just a way to work with this set of tools that I'm not used to work with lately. ;)

About

This is just a very simple CEP checker based on Hobbit and SQLite3 (a CEPs list file must be provided).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages