This is a simple Story publishing web application built using Flask and MongoDB. It allows users to view stories,add their own stories, update or delete their story. It also counts the number of times the story is viewed.
- User Authentication: Users can register, login, and logout.
- Story management: Users can add new stories, update or delete existing ones.
- View Count : View count for each story updates when users are visiting the read story page
- Flask: Python web framework for building the backend.
- MongoDB: NoSQL database for storing user data and tasks.
- HTML/CSS: Frontend styling and structure.
- JavaScript: For client-side interactivity and real-time updates.
- Bootstrap Dependencies and Icons.
-
Download the zip from repository: https://github.com/aswin-krishna-m/ADBMS_LAB/Project2-Storyoh
-
Install Python and MongoDB on your system if not already installed.
-
Install the required dependencies: pip install -r requirements.txt
-
Run the Flask application: python app.py
-
Access the application in your web browser at
http://localhost:5000.
- Register or login to access functionalities of the app.
- Add new stories by providing a title name , genre, and mainly the content.
- Update stories through Edit page.
- Delete the story if needed.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.