Live data from Hacker News

Show HN: Base – API for authentication, email sending, images and more

base-api.io

31–40 of 56 posts

Re: Show HN: Base – API for authentication, email sending, images and more

#31

I released Base about a month ago and created a blog post with some details https://dev.to/gdotdesign/base-api-for-authentication-email-... Let me know what you think! :)

Very cool gdotdesign! We're working on something similar in the decentralized auth space.

Just curious, how/why did you pick email sending as a service add on?

Re: Show HN: Base – API for authentication, email sending, images and more

#32
post #4

Interesting that you've made it using https://crystal-lang.org/ https://www.mint-lang.com/ How did you decide to use these framework and how was your experience ?

I'm the author of Mint, so it was the obvious choice :) I choose Crystal because I had experience using Ruby and I absolutely loved the syntax, also Mint is built with Crystal. I really like it because it easy to read (even with type annotations) and compiles to a fast binary. Edit: If you have specific questions let me have it :D

Not Crystal related but from where do you get the art? ;)

Re: Show HN: Base – API for authentication, email sending, images and more

#34

Earlier quoted context omitted.

I'm the author of Mint, so it was the obvious choice :) I choose Crystal because I had experience using Ruby and I absolutely loved the syntax, also Mint is built with Crystal. I really like it because it easy to read (even with type annotations) and compiles to a fast binary. Edit: If you have specific questions let me have it :D

Not Crystal related but from where do you get the art? ;)

Not OP but google around for vector-style images. There was even a Show HN project that generated them, I'll look around

Re: Show HN: Base – API for authentication, email sending, images and more

#35

I released Base about a month ago and created a blog post with some details https://dev.to/gdotdesign/base-api-for-authentication-email-... Let me know what you think! :)

Very cool gdotdesign! We're working on something similar in the decentralized auth space. Just curious, how/why did you pick email sending as a service add on?

It was easier then implementing it by hand, making sure that they are delivered to the inbox, etc.

Re: Show HN: Base – API for authentication, email sending, images and more

#38
post #4

Interesting that you've made it using https://crystal-lang.org/ https://www.mint-lang.com/ How did you decide to use these framework and how was your experience ?

I'm the author of Mint, so it was the obvious choice :) I choose Crystal because I had experience using Ruby and I absolutely loved the syntax, also Mint is built with Crystal. I really like it because it easy to read (even with type annotations) and compiles to a fast binary. Edit: If you have specific questions let me have it :D

From Mint's docs [0]:

> Record definitions are globally unique, so defining a record with the same structure but a different name will raise an error.

So I can't have both

    record User {
      email : String,
      name : String,
      id : Number
    }
and

    record Task {
      name : String,
      description : String,
      id : Number
    }
in the same project?

[0] https://guide.mint-lang.com/reference/records

Re: Show HN: Base – API for authentication, email sending, images and more

#40

Earlier quoted context omitted.

I'm the author of Mint, so it was the obvious choice :) I choose Crystal because I had experience using Ruby and I absolutely loved the syntax, also Mint is built with Crystal. I really like it because it easy to read (even with type annotations) and compiles to a fast binary. Edit: If you have specific questions let me have it :D

From Mint's docs [0]: > Record definitions are globally unique, so defining a record with the same structure but a different name will raise an error. So I can't have both record User { email : String, name : String, id : Number } and record Task { name : String, description : String, id : Number } in the same project? [0] https://guide.mint-lang.com/reference/records

You can! One has email field the other has. description field.
Post reply on HN