Skip to content

The Blog Application is a full-stack web application developed using .NET Web API for the backend and Angular for the frontend. It allows users to create, read, update, and delete blog posts. Registered users can write and publish their own blog posts, while others can view .

Notifications You must be signed in to change notification settings

ShraddhaBhure/SbBlog.API

Repository files navigation

Blog Application

sbBlog.API

Overview

The Blog Application is a full-stack web application developed using .NET Web API for the backend and Angular for the frontend. It allows users to create, read, update, and delete blog posts. Registered users can write and publish their own blog posts, while others can view and comment on them.

This project was generated with Angular CLI version 16.2.1.

SbBlogUI (Angular Frontend)

The frontend of this application, known as SbBlogUI, is built using Angular. Here are some key details about the Angular frontend:

  • Development server:

    • To start the development server for SbBlogUI, run ng serve.
    • Navigate to http://localhost:4200/ in your web browser.
    • The application will automatically reload if you change any of the source files.
  • Code scaffolding:

    • You can use Angular CLI to generate components, directives, pipes, services, classes, guards, interfaces, enums, and modules.
    • Example: ng generate component component-name
  • Build:

    • To build the SbBlogUI project, run ng build.
    • The build artifacts will be stored in the dist/ directory.
  • Running unit tests:

    • Execute unit tests for SbBlogUI by running ng test.
    • Tests are executed via Karma.
  • Running end-to-end tests:

    • Run end-to-end tests for SbBlogUI with ng e2e.
    • Note that you need to first add a package that implements end-to-end testing capabilities.
  • Further help:

Key Features

  • User Authentication:

    • Users can register and log in securely to access the application.
    • Password hashing and authentication tokens ensure data security.
  • Blog Post Management:

    • Registered users can create, edit, and delete their own blog posts.
    • Blog posts can include titles, content, images, and tags for categorization.
  • Blog Viewing:

    • Unauthenticated users can browse and read blog posts.
    • Posts are categorized by tags, making it easy to find related content.
  • Comments:

    • Users can leave comments on blog posts.
    • Comment threads allow for discussions and interactions.
  • User Profiles:

    • Registered users have profiles where they can manage their blog posts and account settings.
  • Search Functionality:

    • Users can search for specific blog posts based on keywords or tags.
  • Responsive Design:

    • The frontend is built with Angular, providing a responsive and user-friendly interface for both desktop and mobile users.

Technology Stack

  • Backend: .NET Web API, C#, Entity Framework for database operations, JWT for authentication.

  • Frontend: Angular, TypeScript, HTML/CSS, RxJS for handling asynchronous operations.

  • Database: SQL Server or any other relational database of choice.

Deployment

The application can be deployed to a web server or cloud hosting service, making it accessible to users from anywhere with an internet connection.

Future Enhancements

  1. User Roles: Implement roles for users (e.g., admin, editor, reader) to control access and permissions.

  2. Social Sharing: Add social media sharing options for blog posts.

  3. Notifications: Implement email notifications for user interactions (e.g., new comments).

  4. SEO Optimization: Improve search engine optimization for better discoverability.

  5. Image Upload: Allow users to upload and manage images for their blog posts.

About

The Blog Application is a full-stack web application developed using .NET Web API for the backend and Angular for the frontend. It allows users to create, read, update, and delete blog posts. Registered users can write and publish their own blog posts, while others can view .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published