go-fiber-app

command module
v0.0.0-...-38eed3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 9 Imported by: 0

README ยถ

Welcome to go-fiber-backend ๐Ÿ‘‹

A Go REST API using Go Fiber framework, PostgreSQL and GORM

๐Ÿ  Homepage

Getting Started

To get a copy of this project up and running on your local machine for testing and development, you would need to have a minimum of the listed prerequisites installed on your local machine.

Prerequisites

You must have

  1. Golang installed on your local machine. Run go version in your terminal to confirm that you have it installed

  2. postgresql

  3. GIT and Bash

Installation

To get started, clone this repository on your local machine using the following steps:

Create a .env file and add the environment variables described in the .env.sample file.

Starting the server

go run main.go

Author

๐Ÿ‘ค @albert0711

Technologies

  • Go
  • Fiber
  • PostgreSQL
  • GORM

Test Cases

POST - Create Book

Postman image of test for create book

GET - Fetch All Books

Postman image of test for fetch books

GET - Fetch Single Book

Postman image of test for fetch single book

DELETE - Remove Book

Postman image of test for deleting one book

Copyright (c) 2023 albert0711

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL