~brown121407/QnA

Sample ASP.NET Core project showcasing a "Questions and Answers" type of platform

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~brown121407/QnA
read/write
git@git.sr.ht:~brown121407/QnA

You can also use your local clone with git send-email.

#QnA

This is a sample project showcasing a "Questions and Answers" type of platform, written mainly in C#, using ASP.NET Core on the backend, and, to make the pages not look like a 2000's weblog, I used the CSS framework Bulma.

It allows the creation of accounts, posting questions and replies (and replies to replies!), deleting posted stuff and editing account information.

#Requirements

To run this code you need to have .NET Core 3.1.402 or a newer 3.x (I haven't tested it on .NET 5) and PostegreSQL installed and follow these steps:

  • Create an empty database in Postgres and note down the connection information.
  • Edit the appsettings.json file to match the connection settings of your database.
  • Run dotnet ef database update.

To start the application, you can run dotnet run --project QnA in the solution directory.

#License

This project is licensed under the GNU GPL version 3 or later.