diff --git a/src/api/posts/deletePost.ts b/src/api/posts/deletePost.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/api/posts/edit.ts b/src/api/posts/editPost.ts similarity index 100% rename from src/api/posts/edit.ts rename to src/api/posts/editPost.ts diff --git a/src/api/posts/posts.ts b/src/api/posts/getPosts.ts similarity index 100% rename from src/api/posts/posts.ts rename to src/api/posts/getPosts.ts diff --git a/src/api/posts/index.ts b/src/api/posts/index.ts index aeba266..954fa40 100644 --- a/src/api/posts/index.ts +++ b/src/api/posts/index.ts @@ -1,6 +1,6 @@ -import getPosts from './posts'; -import postPost from './new'; -import putPost from './edit'; +import getPosts from './getPosts'; +import postPost from './newPost'; +import putPost from './editPost'; import { Router } from 'express'; const posts = Router(); diff --git a/src/api/posts/new.ts b/src/api/posts/newPost.ts similarity index 100% rename from src/api/posts/new.ts rename to src/api/posts/newPost.ts