Get started - GeeksHacking/GeekHub GitHub Wiki

GeekHub runs on ASP.NET Core with a React client app. It also uses Entity Framework Core with SQLite/PostgreSQL.

The first step to get the project running locally is to install the following:

  • NodeJS & NPM
  • .NET SDK 5
  • PostgreSQL (unless you want to use SQLite)

After which, clone the project.

For local development, you may configure the PostgreSQL connection string inside your user-secrets store. Read more here.

By default, GeekHub will use Postgres, and fetch the connection string with key ConnectionStrings:Postgres

Startup.cs

services.AddDbContext<ApplicationDbContext>(options =>
    options.UseNpgsql(Configuration.GetConnectionString("Postgres")));

If you prefer to use SQLite, replace options.UseNpgsql(Configuration.GetConnectionString("Postgres")) with options.UseSqlite(Configuration.GetConnectionString("DefaultConnection"))

The project can be used with the standard .NET CLI commands. Read more here