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.
- 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.
- 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.
Before you begin, ensure you have the following installed on your machine:
- .NET SDK 8.0+
- Docker
- MongoDB (optional if not using Docker)
- Elasticsearch (optional if not using Docker)
-
Clone the repository:
git clone https://github.com/csabika98/PersonalBlog.git cd PersonalBlog
-
Restore dependencies:
dotnet restore
-
Build the project:
dotnet build
You can run the application either locally or using Docker.
- Running Locally: TODO (Extend this section)
- Install both MongoDB & and ES & Start (if not using Docker):
- Running with Docker
- TODO
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