Code Monkey home page Code Monkey logo

mos2's Introduction

Mossad HR application

How to test

Setting connection string

Please set the database path in the app.config connection string in WinService and Tests\IntegrationTests projects to an appropriate path.

Creating database

Tests/IntegrationTests project contains a test called CreateDb which creates the database and adds test data to it.

Accessing the API

The API can be accessed on the localhost:8080 port after starting the WinService process. It doesn't need IIS.

Starting the API server from Visual Studio IDE

  1. Open the SLN in Visual Studio
  2. Set the Api project as the startup project for the solution
  3. Start the project with F5 (debug run)
  4. Requests on localhost:8080 will be answered

Starting the API server from command prompt

  1. Execute StartProcess.bat in main project folder (The command window can be closed, the server will still work)
  2. Requests on localhost:8080 will be answered
  3. To stop the server execute the StopProcess.bat in main project folder

Installing the API server as windows service

  1. Build the solution
  2. Start Developer Command prompt as administrator
  3. Navigate to the main folder of the Mossad solution
  4. Execute installService.bat
  5. Start Services.msc
  6. Start Mossad.HR.API service

Implementation details

The BE solution uses Nancy FX a mature, well supported, lightweight framework for WEB API. See https://auth0.com/blog/meet-nancy-a-lightweight-web-framework-for-dot-net/ https://www.ben-morris.com/simplifying-net-rest-api-development-nancy-self-hosting-and-asp-net-core/

The solution is multi layered, so it is easy to convert ASP.NET WEB API if necessary.

This solution is based on my earlier hobby work.

Known issues

  1. The database is not optimized for speed. More indexes should be defined.
  2. Recruiter password handling is not implemented
  3. Recruiter security token handling is not implemented

Task Description

Original task description moved to Doc folder

mos2's People

Contributors

alexifs avatar zzt108 avatar

Watchers

 avatar  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.