added community, CRUD

This commit is contained in:
Rykkel
2024-06-28 13:35:01 +08:00
parent cb27abcba8
commit aa8ce41e70
11 changed files with 1764 additions and 806 deletions

View File

@@ -4,6 +4,10 @@ import SignUpPage from "./pages/SignUpPage";
import SignInPage from "./pages/SignInPage";
import SpringboardPage from "./pages/SpringboardPage";
import ManageUserAccountPage from "./pages/ManageUserAccountPage";
import CommunityPage from "./pages/CommunityPage";
import CreatePostPage from "./pages/CreatePostPage";
import EditPostPage from "./pages/EditPostPage";
import SchedulePage from "./pages/SchedulePage";
function App() {
@@ -17,6 +21,10 @@ function App() {
element={<ManageUserAccountPage />}
path="/manage-account/:accessToken"
/>
<Route element={<CommunityPage />} path="/community" />
<Route element={<CreatePostPage />} path="/createPost" />
<Route element={<EditPostPage/>} path="/editPost/:id" />
<Route element={<SchedulePage/>} path="/schedule"/>
</Routes>
);