Giter Site home page Giter Site logo

efectn / fiber-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
77.0 77.0 6.0 271 KB

Simple and scalable boilerplate to build powerful and organized REST projects with Fiber.

License: MIT License

Go 96.47% HTML 0.17% Dockerfile 1.87% Makefile 1.49%
boilerplate fiber fx go gofiber golang golang-package project-template template zerolog

fiber-boilerplate's Introduction

Hi there ๐Ÿ‘‹

fiber-boilerplate's People

Contributors

dependabot[bot] avatar efectn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fiber-boilerplate's Issues

Incorrect models migration when database is not available

What was done:

  1. Cloned project from https://github.com/efectn/fiber-boilerplate;

  2. In project directory successfully ran (no errors displayed):

$ go mod tidy
$ go mod download

Database service was not started, and database server name postgres was not valid,

  1. In project directory ran:
$ go run cmd/example/main.go
  1. Got error, which is completely expected, since no host named postgres is available at this time
    ERR Failed creating schema resources! error="failed to connect to `host=postgres user=postgres database=boilerplate`: hostname resolving error (lookup postgres: no such host)"

  2. But after that in console log displayed (this is my issue):
    INF Models were migrated and seeded successfully!

I suppose, if there was error connecting DB server, models could NOT be "migrated and seeded successfully".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.