This is a simple web interface to display journal entries from a REST API.
- Node.js and npm must be installed.
- The backend REST API must be running on
http://localhost:8080.
- Open a terminal in the project root folder.
- Run the following command to install the dependencies:
npm install
- After the installation is complete, run the following command to start the web server:
npm start
- Open your web browser and navigate to
http://localhost:8081(or the URL provided bylive-serverin the terminal).
- The application fetches categories from
http://localhost:8080/categoriesand populates a dropdown menu. - When you select a category, it fetches the corresponding journal entries from
http://localhost:8080/journalentries/category/{id}. - The entries are displayed in a chat-like interface.