This web application, built with Node.js and Express, allows users to create, edit, and view posts. The application incorporates essential features like posting messages, content moderation using OpenAI API, and editing and deleting posts. The application has been deployed on Fly.io, and you can access it here.
-
Install Dependencies:
- No need to install dependencies manually, as the application is deployed.
-
Access the Application:
- Open your web browser and go to the provided link for the deployed application.
- Access the homepage (
/
) to submit a new post. - Enter your name (
nickname
) and a message (text
) in the form. - Click the "Send" button to submit the post.
- Visit the
/posts
page to see a list of all posted messages by clicking the button "Show posts" - Each post displays the name, message, and creation timestamp.
- Posts are checked for moderation based on specific criteria using the OpenAI API.
- If a post is flagged, it won't be displayed.
- Click on "Edit" next to a post to modify its content.
- Click on "Delete" to remove a post.