Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit328068c

Browse files
authored
Update readMe.md
1 parentf49491e commit328068c

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

‎readMe.md‎

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
1-
#CRUD RESTful API with Golang + MongoDB + Redis + Gin Gonic
1+
#Build CRUD RESTful API Server with Golang, Gin, and MongoDB
2+
3+
In this article, you'll learn how to build a CRUD RESTful API server with Golang, Gin Gonic, MongoDB-Go-driver, Docker, and Docker-compose.
4+
5+
![Build CRUD RESTful API Server with Golang, Gin, and MongoDB](https://codevoweb.com/wp-content/uploads/2022/05/Build-CRUD-RESTful-API-Server-with-Golang-Gin-and-MongoDB.webp)
6+
7+
##Topics Covered
8+
9+
- Golang, Gin Gonic, MongoDB CRUD RESTful API Overview
10+
- Create the Models with Structs
11+
- Create the Service Interface
12+
- Create Methods to Implement the Interface
13+
- Initialize the Service Struct
14+
- Define a Service to Create a Post
15+
- Define a Service to Update Post
16+
- Define a Service to Delete Post
17+
- Define a Service to Get Single Post
18+
- Define a Service to Get All Posts
19+
- Create Controllers to Perform the CRUD Operations
20+
- Initialize the Controller Struct
21+
- Define a Controller to Create a Post
22+
- Define a Controller to Update a Post
23+
- Define a Controller to Delete a Post
24+
- Define a Controller to Get a Single Post
25+
- Define a Controller to Get All Posts
26+
- Create the Routes for the Controllers
27+
- Initialize the Constructors and Start the Gin Server
28+
29+
Read the entire article here:[https://codevoweb.com/crud-restful-api-server-with-golang-and-mongodb](https://codevoweb.com/crud-restful-api-server-with-golang-and-mongodb)
30+
31+
Articles in this series:
232

333
###1. API with Golang + MongoDB + Redis + Gin Gonic: Project Setup
434

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp