This is the project for cvwo 2024 interview. This is a web forum project.
Welcome to the Web Forum project!
This web forum already deploy at: https://webforum-client-9d35249bbdc9.herokuapp.com/ using heroku
- User Registration and Authentication: Users can create accounts and log in to the forum.
- Create and Participate in Discussions: Users can create new discussion threads and participate in existing ones.
- User Profiles: Each user has a profile where they can manage their threads.
- Search Feature: Users can search the threads through the topics, tags, or user name.
- Frontend: Vite + React
- Backend: Golang
- Database: PostgreSQL
To get started with the Web Forum project, follow these steps:
Note: You need to setup the .env file first OR setup the environment variables in docker-compose.yml file if you want to use docker to deploy the website
-
Clone the repository:
git clone https://github.com/tckeong/cvwo-2024.git
-
Set up the database: Create and configure your database according to the backend technology used.
-
Start the website: Can setup both of the client and server according to the README.md in ./client-frontend and ./server-backend
If you are using Docker:
Note: Remember to disabled the LoadEnvVariables() function in internal/initializer/initConfigs.go
Just run:
docker-compose up --build
-
Open your web browser and navigate to
http://localhost:5173
(if you did not change the default port). -
Your should be able to see the first page of the web forum now.
Feel free to modify this template to fit the specific details of your own project.