Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Minimalistic version of Stack Overflow website.

License

NotificationsYou must be signed in to change notification settings

nayeemsweb/StackOverflow-Lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimalistic version of Stack Overflow website. Users can postquestions, answer them and also can vote others’ answers. Besidesquestioner can also mark as accepted one correct answer.

GitHub Workflow Status (branch)

GitHub closed issues

Demo

Stack Overflow


Installation

Firstly, clone the project-

https://github.com/nayeemsweb/StackOverflow-Lite.git

Secondly, Open the project in Visual Studio by running theStackOverflow.sln solution file -

cd StackOverflow-Lite/src/StackOverflow

Thirdly, go todocs folder -

cd StackOverflow-Lite/docs

There you will find a batch file namedStackOverflow_Migration_Runner.bat.Run that batch file to update database -

Step(1):Apply Migration[option 2]

Step(2):Update All[option 1]

or, You may manually run theUpdate Database using the following commandin theProject Manager Console in Visual Studio.

dotnet ef database update -p .\Applications\StackOverflow.Web -c ApplicationDbContext

This will create a database namedStackOverflowDb in your SQL Server(actually SSMS) and also the table(s) accordingly.

⚠️Your must haveSQL Server andSQL Server Management Studioinstalled on your machine.

Environment Variables

Go to -

cd StackOverflow-Lite\src\StackOverflow\Applications\StackOverflow.Web

In this paththere is a file namedappsettings.json.If you face any issue updating the database then configure this lineaccordingly to your machine configuration -

"ConnectionStrings": {    "DefaultConnection": "Server=.\\SQLEXPRESS;Database=StackOverflowDb;Trusted_Connection=True;"  },

You may change theServer value according to your configuration.

Tech Stack

Frontend: ASP.NET Web App (MVC), Bootstrap UI Templates

Backend: ASP.NET (Core) 6, Entity Framework (Core), Sql Server,Fluent API

Design Patterns: Repository & Unit of Work Patterns

Architecture: Layered Architecture - n-Tier Architecture -(UI, Business Logic & Data Access Layer)

Error Logger: Serilog

Dependency Injection: Autofac

Object-Object Mapper: AutoMapper

Features

  • Authentication, Authorization
  • Posting Questions (Post)
  • Answering those Questions (Comments)
  • Voting different Questions and Answers
  • Selecting one correct answer as Accepted

Support

❤️ If you do like my work, hit the ⭐️ button above. ❤️

License

MIT

About

Minimalistic version of Stack Overflow website.

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp