- Users and Authentication
-
POST /user/login
: Existing user login -
POST /users
: Register a new user -
GET /user
: Get current user -
PUT /user
: Update current user
-
- Profiles
-
GET /profiles/{username}
: Get a profile -
POST /profiles/{username}/follow
: Follow a user -
DELETE /profiles/{username}/follow
: Unfollow a user
-
- Articles
-
GET /articles/feed
: Get recent articles from users you follow -
GET /articles
: Get recent articles globally -
POST /articles
: Create an article -
GET /articles/{slug}
: Get an article -
PUT /articles/{slug}
: Update an article -
DELETE /articles/{slug}
: Delete an article
-
- Comments
-
GET /articles/{slug}/comments
: Get comments for an article -
POST /articles/{slug}/comments
: Create a comment for an article -
DELETE /articles/{slug}/comments/{id}
: Delete a comment for an article
-
- Favorites
-
POST /articles/{slug}/favorite
: Favorite an article -
DELETE /articles/{slug}/favorite
: Unfavorite an article
-
-
Notifications
You must be signed in to change notification settings - Fork 0
serhatmorkoc/go-realworld-example
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published