An open API service indexing awesome lists of open source software.

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: 3 days ago
JSON representation

Simple template for creating blog websites

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