https://github.com/mateuszgrzelak-git/simpleblogapp
Simple template for creating blog websites
https://github.com/mateuszgrzelak-git/simpleblogapp
blog-app csharp mateuszgrzelak-git simple-blog
Last synced: 2 months ago
JSON representation
Simple template for creating blog websites
- Host: GitHub
- URL: https://github.com/mateuszgrzelak-git/simpleblogapp
- Owner: mateuszGrzelak-git
- License: unlicense
- Created: 2024-07-09T11:57:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-25T10:14:59.000Z (about 1 year ago)
- Last Synced: 2025-06-25T11:25:39.154Z (about 1 year ago)
- Topics: blog-app, csharp, mateuszgrzelak-git, simple-blog
- Language: C#
- Homepage:
- Size: 50.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleBlogApp
There're 2 options to build
1. Docker
2. Mannual
# Docker (recommended)
Just use project's docker script
How to use: https://docs.docker.com/reference/cli/docker/compose/up/
# Mannual
To build program create 2 SQL Databases Instances in: https://www.microsoft.com/en-us/download/details.aspx?id=42299
and config sql server with:
https://aka.ms/ssmsfullsetup
- (local)\UserDatabase
- (local)\PostsDatabase
CREATE 2 DATABASES:
- UserRepository
- PostsRepository
In PostsRepository create table named Posts with 4 columns:
- ID
- username
- postName
- postData
create table OnlinePosts with previous columns
create table Users with 3 columns:
- ID
- username
- password
Notice you must change ID to primar key apply increment and must be int type
In UserDatabase create table named Users with 3 columns:
- ID
- username
- Password
change ID with instructions above