Skip to content

modern, scalable personal blog application built with ASP.NET Core, MongoDB, and Elasticsearch.

Notifications You must be signed in to change notification settings

csabika98/PersonalBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 

Repository files navigation

PersonalBlogCsabaSallai

Table of Contents

Screenshots

1. screen - Welcome page

welcome_page

2. screen - Register page

register_page

3. screen - Login page

login_page

4. screen - Login page p2

login_page

5. screen - Already logged in state

login_page

6. screen - Post view

post_view

7.screen - Dummy Error Message

dummy_error_message

8.screen - Post creation

post_creation

9.screen - Privacy Page

privacy_page

10.screen - MongoDB Query about the registered user

mongo_query

11.screen - Search (ElasticSearch)

search_query

12.screen - ES - Index shard

search_query

13.screen - Search (ElasticSearch p2)

search_query

Summary

PersonalBlogCsabaSallai is a modern, scalable personal blog application built with ASP.NET Core, MongoDB, and Elasticsearch. This project showcases how to create, manage, and search blog posts using the latest web technologies.

Features

  • Blog Post Management: Create, edit, and view blog posts.
  • Full-Text Search: Powered by Elasticsearch, allowing users to search blog posts quickly.
  • Modern Web Technologies: Built with ASP.NET Core, MongoDB, and Docker for a full-stack development experience.
  • Scalable: Designed to scale with the addition of containers and cloud services.

Technologies Used

  • ASP.NET Core: Web framework for building modern web applications.
  • MongoDB: NoSQL database for storing blog posts.
  • Elasticsearch: Search engine for full-text search functionality.
  • Docker: Containerization of the application for easy deployment and environment management.
  • Bootstrap: CSS framework for responsive and mobile-first design.

Getting Started

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Installation

  1. Clone the repository:

    git clone https://github.com/csabika98/PersonalBlog.git
    cd PersonalBlog
  2. Restore dependencies:

    dotnet restore
  3. Build the project:

    dotnet build

Running the Application

You can run the application either locally or using Docker.

  1. Running Locally: TODO (Extend this section)
  • Install both MongoDB & and ES & Start (if not using Docker):
  1. Running with Docker
  • TODO

Usage (TODO)

Creating a Blog Post

Viewing Blog Posts

Searching Blog Posts

Project Structure

MVP

/DevelopmentEnvironment
├── Dockerfile
├── docker-compose.yml
/src
├── Controllers
│   └── PostController.cs
├── Models
│   └── Post.cs
├── Properties
│   └── launchSettings.json
├── Screenshots
│   ├── 1.png
│   ├── 2.png
│   ├── 3.png
│   ├── 4.png
│   ├── 5.png
├── Services
│   ├── MongoDbContext.cs
│   ├── PostService.cs
│   └── ViewLocatorService.cs
├── Views
│   ├── Home
│   │   ├── Error.cshtml
│   │   ├── Index.cshtml
│   │   └── Privacy.cshtml
│   ├── Post
│   │   ├── Create.cshtml
│   │   ├── Details.cshtml
│   │   └── Index.cshtml
│   └── Shared
│       ├── _Layout.cshtml
│       ├── _Layout.cshtml.css
│       └── _ValidationScriptsPartial.cshtml
├── Program.cs
└── appsettings.json

About

modern, scalable personal blog application built with ASP.NET Core, MongoDB, and Elasticsearch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published