This is a web forum application which is developed with a Go backend using the Go-Chi framework and a React frontend, and this is the repository for the frontend. The repository for the backend can be found here.
-
The web application is accessible at https://gossip-with-go.vercel.app/, and the user can browse threads without logging in. Sample threads and posts have been created to simulate a populated forum.
-
The landing page consists of a list of all the threads, preceded by a component which allows you to filter the threads by tag by using the dropdown menu. Clicking on the threads will lead to a page with the comments associated with the thread.
-
The user needs to login or register to create new threads or comments using the dialog which is rendered when clicking the account button.
-
Once the user is logged in, the account button now opens a dialog which allows the user to change their username or password.
-
The user now has the option to create new threads or comments by clicking the new thread button while viewing the list of threads or clicking the new comment button while viewing the specific thread respectively.
-
If the user is logged in and is the original poster of the comment or thread they are viewing, they will also have the option to edit or delete their thread or comment.
-
Fork this repo.
-
Clone your forked repo.
-
Open your terminal and navigate to the directory containing your cloned project.
-
Install dependencies for the project by entering this command:
yarn install
-
Run the app in development mode by entering this command:
yarn start
-
Open http://localhost:3000 to view it in the browser.
This is the main file structure