Git Product home page Git Product logo

auctionsystem's Introduction

AuctionSystem

Auction System is an open-source web project where users can create multiple auctions, set the date of the auction and then users are able to bid for the given item. When the auction ends the user with the highest bid wins the item.

Azure DevOps - Build Status

Build Status

Branches

  1. master - as this was one of the first projects I've developed, I decided to refactor the project in my free time. I've used CQRS pattern with MediatR. The mvc project is the same, I just built an API gateway, a new SPA and improved abstraction by using Clean Architecture. Down below you will find more information about the Clean Architecture.
  2. mvc-with-services - simple mvc project

Clean Architecture


Here's the basic architecture of this microservice template:

  • Respecting policy rules, with dependencies always pointing inward
  • Separation of technology details from the rest of the system
  • SOLID
  • Single responsibility of each layer

CQRS diagram

Automatically generated users

Username Password Role
[email protected] admin123 Administrator
[email protected] test123 User
[email protected] test123 User

Getting started

Set up Cloudinary (required)

  1. Register a Cloudinary account.
  2. Create a Cloud, API key and API secret.
  3. In the Presentation/Api/appsettings.json and Presentation/MvcWeb/appsettings.json configuration files insert the Cloud name, API key and API secret.

Example:

"Cloudinary": {
  "CloudName": "AuctionSystemCloud",
  "ApiKey": "488*********516",
  "ApiSecret": "3m7******************KdS"
}

Set up email notification functionality (required)

  1. Register a SendGrid account.
  2. Create an API key.
  3. Insert the API key in the following files:
    • Presentation/Api/appsettings.json
    • Presentation/MvcWeb/appsettings.json

Example:

"SendGrid": {
  "ApiKey": "SG.5******************************************************DO-zfRp"
}

Set up redis cache in Api project(optional)

  1. Follow the docs
  2. In Presentation/Api/appsettings.json set RedisCacheSettings Enabled property to true

Example:

"RedisCacheSettings": {
    "Enabled": true,
    "ConnectionString": "localhost"
  },

To run the project:

  1. In the /Presentation/Api folder, run in terminal:
dotnet run

and the project should be running now on https://localhost:5001

  1. In the /Presentation/SpaWeb folder, run in terminal:
  • npm install
  • npm start

the project should be running on http://localhost:3000

  1. Enjoy!!!

P.S If you're too lazy to setup and run this project, here's a short overview of the project.

๐Ÿ”ฅ And last but not least, make sure you check out my other projects which are way cooler and complex ๐Ÿ™‚

BankSystem

AlgorithmVisualizer

auctionsystem's People

Contributors

melikpehlivanov avatar martinmladenov avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.