Skip to content

This project is a RESTful API built with Go and the Fiber framework, using GORM for database interaction. It showcases CRUD operations for managing movies, stored in a PostgreSQL database.

Notifications You must be signed in to change notification settings

prathakpr/go_crud_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go_Crud_App: Building RESTful APIs on Golang (Feat. GORM)

Project Overview

This project is a RESTful API application built using Go and the Fiber framework, with GORM for database interaction. It demonstrates how to create and manage API endpoints that interact with a PostgreSQL database. The project focuses on implementing basic CRUD operations for a "movies" resource, using PostgreSQL for database storage.

Key Features:

  • CRUD Operations for Movies: Create, read, update, and delete movies.
  • Go Fiber Framework: Lightweight and fast web framework for building APIs.
  • GORM: ORM for interacting with PostgreSQL.
  • Database Integration: Simple database setup with PostgreSQL.

Key Features

Movies Module

  • Manage Movies: Store and manage movie details such as title, director, release date, genres, and rating.
  • Perform CRUD Operations on Movies:
    • POST /movies: Create a new movie.
    • GET /movies: Fetch all movies.
    • GET /movies/:id: Fetch a movie by its ID.
    • PUT /movies/:id: Update an existing movie.
    • DELETE /movies/:id: Delete a movie.
  • Uses PostgreSQL for storing movie data with relational integrity.

Technologies Used:

  • Go for backend development.
  • Fiber as the web framework for handling HTTP requests.
  • GORM for object-relational mapping (ORM).
  • PostgreSQL for database storage.

Setup Instructions

Clone the Repository

To get started with this project, clone the repository to your local machine:

git clone https://github.com/prathakpr/go_crud_app.git
cd go-fiber-api

About

This project is a RESTful API built with Go and the Fiber framework, using GORM for database interaction. It showcases CRUD operations for managing movies, stored in a PostgreSQL database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages