• Урок 1. 00:00:55
    Introduction
  • Урок 2. 00:01:18
    Create the Book model and books slice
  • Урок 3. 00:07:57
    Create the router and register api-endpoints and handler
  • Урок 4. 00:02:18
    Add static data and implement 'getBooks'
  • Урок 5. 00:08:17
    Implement 'getBook' handler to get a single book
  • Урок 6. 00:07:35
    Implement 'addBook' and use Postman for http requests
  • Урок 7. 00:05:10
    Implement 'updateBook'
  • Урок 8. 00:03:57
    Implement 'removeBook'
  • Урок 9. 00:05:42
    Create a Postgres database-instance and table
  • Урок 10. 00:04:30
    Refactor code to include database interaction
  • Урок 11. 00:04:35
    Set and load environment variables
  • Урок 12. 00:02:16
    Connect to the database instance
  • Урок 13. 00:04:37
    Implement 'getBooks' to get all book records from the table
  • Урок 14. 00:02:59
    Implement 'getBook' to get a book record from the table by its id
  • Урок 15. 00:07:49
    Implement 'addBook' to add a book record to the table
  • Урок 16. 00:06:06
    Implement 'updateBook' to update a book record on the table
  • Урок 17. 00:04:43
    Implement 'removeBook' to remove a book record from the table by its id
  • Урок 18. 00:04:50
    Move the Book model to the models folder
  • Урок 19. 00:04:11
    Move the database connection to driver
  • Урок 20. 00:08:43
    Move handler functions to a controller
  • Урок 21. 00:07:58
    Move db specific code to repository
Этот материал находится в платной подписке. Оформи премиум подписку и смотри Build a RESTful API with Golang (Go) programming language, а также все другие курсы, прямо сейчас!
Премиум