Skip to content

Instantly share code, notes, and snippets.

View gpdoud's full-sized avatar
🎯
Focusing

Greg Doud gpdoud

🎯
Focusing
View GitHub Profile

PRS API Specs

Controller Method HTTP API
Users Login GET /api/users/{username}/{password}
GetAll GET /api/users
GetByPK GET /api/users/{id}
Insert POST /api/users
Update PUT /api/users/{id}
Delete DELETE /api/users/{id}
@gpdoud
gpdoud / setup-software-for-net-boot-camp.md
Last active April 24, 2020 19:26
How to setup software for .Net boot camp

How to setup software for .Net boot camp

So you've completed the .Net Boot Camp. Congratulation! You've bought that new computer and want to set it up with the software so you can continue working with all the technology you've learned.

This document will step you through what software you need and how to install and configure it so you can simply clone those repositories and get that capstone project running again.

All of the software for the .Net BC is free forever. All can be downloaded from the web. Some of the downloads are pretty large and will take some time. The order that the software is installed is significant in some cases. I'll explain the required order when it occurs.

Visual Studio Code (VSC)

@gpdoud
gpdoud / Working-in-teams-with-Git-GitHub.md
Last active April 6, 2020 20:01
Working in teams with Git/GitHub

Working in teams with Git/GitHub

When learning software development and working by yourself, things are simplier. But working with even one other person as a team makes the process much more complex. Communication is a key but there are some process that need to be followed in order to not get bogged down in the process itself.

Talk about logistics of the project

It may seem trivial, but the team should agree on a number of items before charging into the project:

  • Directory/folder naming conventions (singular vs plural)
  • Object naming conventions (singular vs plural)

PrsDb-Specs: Specifications for DotNet BC PRS Database

The PRS database is designed to support the functions of the Purchase Request System (PRS) for the capstone project.

User

The User table provides two functions:

  1. Provides authentication for users wishing to use the PRS
@gpdoud
gpdoud / json-web-service-with-spring-boot.md
Last active December 3, 2019 23:54
JSON Web Service with Spring Boot

JSON Web Service with Spring Boot

  • File > New > Spring Starter Project
  • in New Spring Starter Project dialog
    • Name: is part of directory path; no spaces
    • Description: describe the project
  • Dependencies
    • Spring Boot Version: 2.2.1
    • Spring Data JPA
    • MySQL Driver

Net Purchase Request System (PRS) - Capstone Project

Overview

The Purchase Request System is a full-stack, three-tier system that is architected as a typical business web application which will utility virtually all the technology covered int the Net Boot Camp.

Students must complete the capstone and have get a certified of 85 or better out of 100 in order to graduation.

The application is created in two projects called the Server (back-end) and the Client (front-end). The server is created using Visual Studio 2019, C#, EntityFrameworkCore, WebAPI, and SQL Server. The client is created using Angular and Typescript.

@gpdoud
gpdoud / prs-ng-development-tips.md
Last active July 19, 2018 20:50
Working on the Angular front-end to the PRS application

Creating the PRS front-end Angular application

  • ng new prs-client --routing // create the project

  • create 'user' folder in 'app'

  • modify tsconfig.json to add

    • 'baseUrl': 'src',
    • 'paths': { '@user/' : ['app/user/'] }
@gpdoud
gpdoud / Assignment-Create-MVC-EF-WebAPI-app-for-Orders-and-Customers.md
Last active October 5, 2017 13:14
Assignment: Create MVC/EF/WebAPI app for Orders and Customers

Assignment: Orders/Customers MVC/EF/WebAPI application

This assignment is to do a self-evaluation on your current learning about the technologies of MVC/EF/WebAPI.

The task is to create a back-end server applications for Orders and Customers. The application should store the data in a SQL Server database and server up JSON data that can be accessed by jQuery/Javascript on the client. It is important to use EntityFramework migrations in your project.

The Goal

The goal of this assignment is to do an assessment of your skills and knowledge of building MVC/EF/WebAPI application servers. I will give your personal and private feedback on your work which may give you areas where you can improve in preparation for your interviews with perspective employers. THIS FEEDBACK WILL BE PROVIDED ONLY TO YOU AND NOT DOING IN CLASS.

@gpdoud
gpdoud / javascript-promises.md
Last active October 20, 2016 14:38
Javascript Promises - Handling Asynchronous calls

Javascript: Promises

When using Javascript to make AJAX calls to external APIs, the time it takes to complete those API calls can vary greatly. If the API is on the local machine as might be the case when developing the API, the delay in response may be minimal. But when that API call is on a server somewhere on the Internet, the delay in response may be significant.

Promises as a construct that allows a structured way of handling asynchronous calls so that they can be process synchronously meaning if one call relies on another call, the promise allows the first call to complete before the one that relies on it.

Promise Libraries

As of the creation of this document (Oct 20, 2016), most of the browsers already support promises. Internet Explorer (IE) is one notable exception. There are third party promise libraries that can be included to allow support for IE. You can see the current support in browsers Promises support in browsers. Here is a list of promise librar