Skip to content

reeder32/Parks.Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Parks.Solution

A backend api that lets user create/read/update/delete parks

By Nick Reeder

Build Status

Technologies Used

  • c#
  • .Net
  • Entity
  • MVC architecture
  • ASP.NET
  • EF Core

Get Started

  • Open your favorite Terminal

Installation

git clone https://github.com/reeder32/Parks.Solution.git
Open in VS Code
cd Parks.Solution
code .

IMPORTANT

  1. In the root folder create a file 'appsettings.json'
  2. Copy text below:
{
  "ConnectionStrings" : {
    "DefaultConnection" : "Server=localhost;Port=3306;database=nick_reeder;uid=root;pwd=epicodus;"
  }
}

FYI If the below command doesn't work, you may not have dotnet -ef command available yet...

dotnet tool install --global dotnet-ef

dotnet ef database update

Start Server

cd Parks
dotnet run

How to consume api

  1. Open Postman
{
  "name": "Volcano National Park",
  "state": "Hawaii",
  "city": "Hawaii National Park,",
  "zipCode": "96715",
  "type": "National"
}
{
  "name": "Volcano National Park",
  "state": "Hawaii",
  "city": "Hawaii National Park,",
  "zipCode": "96718",
  "type": "National"
}

You can also view and test api online

Swagger

License

MIT License © 2021 Nick Reeder

Contact Information

email me

Other projects

iOS work

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages