Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gleam guides #479

Open
56 tasks
lpil opened this issue Feb 26, 2025 · 0 comments
Open
56 tasks

Gleam guides #479

lpil opened this issue Feb 26, 2025 · 0 comments

Comments

@lpil
Copy link
Member

lpil commented Feb 26, 2025

Databases

  • Use Postgres with Pog

HTTP

  • Build an HTTP server using Wisp and Mist
  • Configure TLS to serve HTTP with Mist
  • Make HTTP requests on Erlang
  • Make HTTP requests on JavaScript
  • Make HTTP requests to JSON APIs on Erlang
  • Make HTTP requests to JSON APIs on JavaScript

Data encoding

  • Compress and decompress data with DEFLATE
  • Compress and decompress data with gzip
  • Encode and decode base64 strings

JSON

  • Build JSON
  • Decode JSON data

Package management

  • Add a dependency
  • Add a git dependency
  • Add a local path development
  • Use a custom CA certificate

Operating system

  • Listen to OS signals on Erlang
  • Listen to OS signals on JavaScript
  • Listen for CTRL+C on Erlang
  • Listen for CTRL+C on JavaScript
  • Read environment variables
  • Write environment variables
  • Read command-line arguments
  • Read from stdin
  • Run a Shell Command

HTML

  • Escape an HTML string
  • Render HTML with Lustre (SSR)

Time

  • Sleep for a fixed number of milliseconds on Erlang
  • Sleep for a fixed number of milliseconds on JavaScript
  • Get the current local time
  • Parse a RFC3339 timestamp string
  • Convert a timestamp to a RFC3339 format string

Security

  • Hash a password
  • Verify a checksum

Working with files

  • Append content to a file
  • Check if a file exists
  • Copy a file to another location
  • Create a directory
  • Create nested directories recursively
  • Delete a file
  • Delete a directory
  • Get the MIME type of a file
  • Get the current working directory
  • Get the permissions of a file
  • Get the size of a file
  • Move a file
  • Read a JSON file
  • Read a binary file
  • Read a text file
  • Read the permissions of a file
  • Set the permissions of a file
  • Write JSON to a file
  • Write a bit array to a file
  • Write a string to a file

Production

  • Track exceptions locally
  • Track exceptions with sentry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant