This web application is a discussion forum where users can register, log in, and participate in discussions with other users. The following technologies and features have been used to develop this application:
- HTML, CSS, and Bootstrap for designing and outlining the GUI
- MVC pattern for organizing the application's structure
- Object-oriented programming and node.js for managing and updating the app state
- WebSocket for messaging through API calls and an NPM library
- MongoDB database for user registration and chat messaging
- REST endpoints for various actions within the application
- SHA256 hash and cookie protection for secure login and logout, to prevent web attacks
To set up the application on your local machine, follow these steps:
- Clone or download the repository to your local machine.
- Run npm install to install the required dependencies.
- Set up a MongoDB database and update the database configuration in the config/database.js file.
- Start the application by running npm start.
- Open a web browser and navigate to http://localhost:3000 to access the application.