clean: Article to Post in domain and related use cases
Renamed the 'Article' domain to 'Post' in order to better reflect the purpose and utility of the object. The change involved renaming all related use cases, classes, and other references from 'Article' to 'Post' and updating all functions and data types to work with Posts instead of Articles.
This commit is contained in:
1 parent
46491a688b
commit
554fdc1989
18 files changed
+274
-271
No files matched your search
+1
-1
@@ -46,7 +46,7 @@ func InitBackendRoutes() *chi.Mux {
|
||||
r.Group(func(r chi.Router) {
|
||||
r.Use(jwtauth.Verifier(api.TokenAuth))
|
||||
r.Use(jwtauth.Authenticator)
|
||||
r.Mount("/article", api.NewArticleRouter())
|
||||
r.Mount("/post", api.NewArticleRouter())
|
||||
})
|
||||
r.Mount("/auth", api.NewAuthRouter())
|
||||
|
||||
|
||||
Reference in new issue
Block a user