PerseusRipple / assignments

0 stars 0 forks source link

Week 08 - Day 3 - Take the Safari Online #29

Closed mdewey closed 5 years ago

mdewey commented 5 years ago

Take the Safari Online.

Let's Continue our safari adventure

We are taking a surprise trip to the Savannah for a safari to see all sorts of exotic animals. During our time their we want to keep track of all the animals we have seen. For this, we need to create an API to help record what we see.

Objectives

Requirements

For .NET Students, install the sdg-api template using the command dotnet new -i SDG.templates.Web.API

Explorer Mode (C#)

Explorer Mode (Ruby)

Adventure Mode (C#)

Adventure Mode (Ruby)

Epic Mode

Additional Resources

.NET

Here are the interesting commands you will need for tonight's assignment

 dotnet add package Microsoft.EntityFrameworkCore.Design --version 2.1.3

 dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL --version 2.1.2
createdb <<DatabaseName>>
dotnet ef dbcontext scaffold "server=localhost;database=<<DatabaseName>>" Npgsql.EntityFrameworkCore.PostgreSQL -c <<DatabaseName>>Context
 dotnet ef migrations add AddBaordGameTable
dotnet ef database update

NOTES:

PerseusRipple commented 5 years ago

https://github.com/PerseusRipple/unit-3/tree/master/SafariApi thank you for your help and patience. very fun getting into APIs and C#

mdewey commented 5 years ago

Your homework was marked: Meets Expectations

Ring that bell!

“Ring that bell!” — via Mark Dewey