Giter VIP home page Giter VIP logo

peopleagetracker's Introduction

People Age Tracker

Quick Summary

This is a small person age tracking web app done in React.Js with a C# api using EF Core, the sample code is using an in memory database which can be easily switch to any that EF core supports, ie MSSQL, mysql, postgress.

The app was done in .Net 6 as a best pratice is to use the Latest LTS build when it becomes available for longer running production apps as a pose to using just the latest none LTS build which has a shorted support period.

I started with Visual Studio 2022 built in templates which does alot of the initial setup and configs.

Deployemnt

As it's completely build inside Visual Studio 2022 deployment is made easier by using the built in "Publishing" inside Visual Studio which includes

  • Azure
  • Docker
  • IIS
  • Folder

It's also easy to change the OS target to either Windows, Linux or ARM depending on requirements

EF Core

With EF core and Linq queries can be writen quickly and securely

Table structure is as follows (All contained in the Person Class)

  • int PersonId
  • string FirstName
  • string LastName
  • DateTime DOB
  • DateTime DateCreated (Updated by the DBContext on record Create)
  • DateTime DateModified (Updated by the DBContext on record Update)

Testing

There is a live version of the app running at https://peopleagetracker20220509224835.azurewebsites.net/

and although not best practice in production the API is also available at https://peopleagetracker20220509224835.azurewebsites.net/Swagger

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.