jwt
Recipes
jwt | Recipes | |
---|---|---|
1 | 61 | |
403 | 5,045 | |
- | 3.0% | |
4.2 | 9.9 | |
almost 1 year ago | 1 day ago | |
Go | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jwt
-
📖 Build a RESTful API on Go: Fiber, PostgreSQL, JWT and Swagger docs in isolated Docker containers
// ./pkg/middleware/jwt_middleware.go package middleware import ( "os" "github.com/gofiber/fiber/v2" jwtMiddleware "github.com/gofiber/jwt/v2" ) // JWTProtected func for specify routes group with JWT authentication. // See: https://github.com/gofiber/jwt func JWTProtected() func(*fiber.Ctx) error { // Create config for JWT authentication middleware. config := jwtMiddleware.Config{ SigningKey: []byte(os.Getenv("JWT_SECRET_KEY")), ContextKey: "jwt", // used in private routes ErrorHandler: jwtError, } return jwtMiddleware.New(config) } func jwtError(c *fiber.Ctx, err error) error { // Return status 401 and failed authentication error. if err.Error() == "Missing or malformed JWT" { return c.Status(fiber.StatusBadRequest).JSON(fiber.Map{ "error": true, "msg": err.Error(), }) } // Return status 401 and failed authentication error. return c.Status(fiber.StatusUnauthorized).JSON(fiber.Map{ "error": true, "msg": err.Error(), }) }
Recipes
- Google Says the Reddit Blackout Made Search Worse
-
Share with us your docker setup.
For recipes, I highly recommend Tandoor
-
Tandoor 1.5 - Food Properties, Unit Conversion and the Tandoor Open Data Project
Release 1.4.8 significantly improved lots of UIs, adding better navigation and dedicated layouts to mobile versions and cleaning up lots of old pages
-
Tandoor recipe page slow
Thanks. Don't think it's Synology. It's related to search display. If I pick a sort it's much faster. I actually saw a thread on your Github about it. https://github.com/TandoorRecipes/recipes/issues/2035
-
Workflow: Getting IRL Recipies into Mealie
Tandoor Was developed initially for that, to import your pdf collection of recipes. It has now evolved to be much more than that and personally prefer it to Mealie, could be worth trying!
- Self-Hosted, Docker-free, recipe manager
- I'd like an estimate for a cooking and recipe related website
-
How do you all record recipes?
With a selfhosted website purpose built for such: https://github.com/TandoorRecipes/recipes
-
Using local network mariadb with docker tandoor?
I'm trying to setup tandoor running in a docker image but I want it to use a mariadb server running on a(nother) machine on the local network. I'm trying to do this by following the instructions here: https://github.com/TandoorRecipes/recipes/discussions/246: set the POSTGRES_* environment vars to point at the mariadb host/user/db name, change the django DB_ENGINE var, and make sure mysql client packages are in the requirements.txt, and rebuild the docker image. All that seems to work and I have a local image that should want to use mariadb instead of postgres.
-
looking for a pantry / recipe / grocery app
These are both on my to look through list (I haven't yet fully looked into them and got them running) but I shortlisted 2 potential solutions for this a while ago (not all requirements are covered): https://github.com/TandoorRecipes/recipes https://hay-kot.github.io/mealie/
What are some alternatives?
tutorial-go-fiber-rest-api - 📖 Build a RESTful API on Go: Fiber, PostgreSQL, JWT and Swagger docs in isolated Docker containers.
mealie - Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor
uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
Portainer - Making Docker and Kubernetes management easy.
fiber-swagger - fiber middleware to automatically generate RESTful API documentation with Swagger 2.0.
grocy - ERP beyond your fridge - Grocy is a web-based self-hosted groceries & household management solution for your home
fiber-opentelemetry - OpenTelemetry trace middleware for Fiber that adds traces to requests.
AMP - Issue tracking and documentation for AMP
migrate - Database migrations. CLI and Golang library.
reverse-proxy-confs - These confs are pulled into our SWAG image: https://github.com/linuxserver/docker-swag
swagger-ui - Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
RecipeSage-selfhost - A collection of configuration files to host your own private instance of RecipeSage for personal use.