Blog ASP is a web-based application developed using C# and ASP.NET. This project features user authentication, post management, and comment interactions. Unauthorized users can view posts, accounts, and comments, while logged-in users can create posts, leave likes/dislikes, and add comments.
This project was created as part of my homework assignment at IT Step Computer Academy. It showcases asynchronous development using ASP.NET and features user authentication with SHA256 password hashing and an authorization system. The project uses MS SQL Server for storing user data, posts, comments, and likes/dislikes.
Follow these steps to set up the project:
-
Clone the repository:
git clone https://github.com/zabavb/Blog-asp.git
-
Update the
appsettings.json
file with your MS SQL Server credentials. - Install the required NuGet packages, including EntityFramework, Microsoft.AspNetCore.Authentication, SHA256, and Bootstrap.
- Open the solution file in Visual Studio, build the project, and run the application.
- User Authentication: Users can log in and create accounts using SHA256 hashing for passwords.
- Post Management: Users can create posts, as well as view posts as unauthorized users.
- Comment System: Logged-in users can leave comments on posts and express their opinions through likes/dislikes.
To use this application, make sure you have set up your MS SQL Server database and provided the required connection strings in the configuration file.
Contributions are welcome! If you have any suggestions or improvements, feel free to fork the repository and submit a pull request.
- Fork the Repository: Click the "Fork" button at the top-right of this page.
- Create a Branch: Create a new branch for your changes.
- Commit Changes: Make your changes and commit them with a descriptive message.
- Push to Your Fork: Push your changes to your forked repository.
- Submit a Pull Request: Go to the "Pull Requests" tab and submit a new pull request.
For any questions or inquiries, you can reach me at email or connect with me on LinkedIn.
- Thanks to IT Step Academy for providing the resources and guidance for this project.
- Special thanks to Microsoft for their comprehensive documentation and development tools.
- Gratitude to the open-source community for contributing helpful libraries and tools.
Feel free to modify or extend this README to fit your needs better. Happy coding!