There're 2 options to build
- Docker
- Mannual
Just use project's docker script
How to use: https://docs.docker.com/reference/cli/docker/compose/up/
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 <br/ >
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