This is the final video for this series :D
Additional Homework to test your Knowledge:
Create an About page
-add a new page to your pages folder and the route for it in App.js
-create a button to this new page on the navbar
Create a Contact page
-add a new page to your pages folder and the route for it in App.js
-create a button to this new page on the navbar
-create a contact form (use google to find a react component to assist with this)
Create the Settings Page
-create the backend functions needed to update user information
-create a new page in the pages folder and create the frontend for the settings page
-add the route to that page in App.js and add a button to go to that page in the navbar
-call the backend functions to update account details appropriately (integrate the frontend with the backend)
Add Categories
-create a category schema in models
-create backend endpoints to add and delete categories
-add backend endpoint to get all categories in the database
-in the front end, add a drop down menu to the writePage
-call the backend endpoint to fetch all categories so they display in the dropdown menu
-when the user makes a new post, make sure that the new post includes the category chosen by the user
-in the sidebar component on the frontend, call the get all categories endpoint to display all categories in a listed format to the screen
-in the backend endpoint for getting all posts, make sure that it has the ability to query posts based on a specified category
Camp Poly Hacks 2023 Registration Form: https://forms.gle/ZkJspy4rkrhwsRsP8
Mongo: https://www.mongodb.com/
Source Code: https://github.com/n0ximus/oSTEMHacka...
コメント