Rushi98 / csharp-blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

csharp-blog

Setup

Database

Postgres setup

createdb blog

psql blog
CREATE TABLE articles (
	id         uuid PRIMARY KEY,
	created    timestamp,
	updated    timestamp,
	slug       character varying(50),
	title      text,
	content    text
);

CREATE ROLE blog_author PASSWORD 'secret';

GRANT ALL ON articles TO blog_author;
ALTER ROLE blog_author WITH LOGIN;

Get the code

git clone https://github.com/Rushi98/csharp-blog
cd csharp-blog

Run the code

dotnet run

About


Languages

Language:C# 48.7%Language:HTML 40.0%Language:CSS 7.3%Language:Dockerfile 2.6%Language:JavaScript 1.4%