adding aws upload to the create post api

This commit is contained in:
Will Baumbach
2025-07-26 13:06:35 -05:00
parent 2704577d39
commit 54e960eaf6
8 changed files with 663 additions and 12 deletions

View File

@@ -1,6 +1,5 @@
import express from 'express';
import { createPost, deletePost, getAllPosts, getAllPostsByUser, getPost, updatePost } from './../controllers/usersController.js';
import { createPost, deletePost, getAllPosts, getAllPostsByUser, getPost, updatePost } from './../controllers/postsController.js';
const router = express.Router();
router