Skip to content

David-Desmaisons/BeerBrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BeerBrowser

Architecture

  • The web-application is a Single Page Application implemented in vue.js. Client-side routing has been implemented. Infinite scroll loading has been used.

  • The back-end API is a REST-API implemented in ASP.Net Core. The persistency is using a PostgreSQL database. It is decomposed in 3 layers:

    • the Site is responsible for exposing the Rest API. The search API are using pagination.
    • Services implements and exposes the functionality to the site. CQRS principles have been applied with an separation between read and write objects.
    • Data provide entities Nhibernate mapping and migrations.

Build instructions

Set-up

Create an empty PostgreSQL database:

CREATE DATABASE beer WITH OWNER = postgres ENCODING = 'UTF8' CONNECTION LIMIT = -1;

The connection string to the PostgreSQL can be altered using the appsettings.json file, name "ConnectionString"

Back-End

dotnet restore
dotnet build

Front-End

npm install
npm run build

For debug:

npm install
npm run serve

When running in debug the front-end application, the back-end url is provided by the .env file. It is configured to be the default port of the ASP back-end and should work without adjust.

Libraries used

Back-End

Front-End

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published