Last Updated: January 28th, 2021
![](https://github.com/tawneeh.png)
![](https://github.com/Dave-Sterry.png)
![](https://github.com/jeffchiudev.png)
![](https://github.com/SJerrod.png)
Name | GitHub Profile |
---|---|
Tawnee Harris | tawneeh |
David Sterry | Dave-Sterry |
Jeff Chiu | jeffchiudev |
Jerrod Styrk | SJerrod |
This application is a service to assist in setting up Puppy Playdates! Users will be able to register, log in and create a profile for their Dog. They will browse randomly through other Dog profiles and either click Squirrel
to see the next profile or Sniff
to see more details about the current Dog.
- An internet browser of your choice; I prefer Chrome
- A code editor; I prefer VSCode
- .NET Core
- MySQL
- MySQL Workbench
- An API Client; I prefer Postman
- Navigate to https://github.com/Dave-Sterry/PuppyLove.Solution.git
- Download this repository to your computer by clicking the green Code button and 'Download Zip'
- Or clone the repository
- This project requires two AppSettings files, one for the database of Dogs and one for the database of Users. Create your first
appsettings.json
file in the API project directoryPuppyLove
- Format your
appsettings.json
file as follows, including your unique password that was created at MySqlWorkbench installation:
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=puppy_love;uid=root;pwd=<YourPassword>;"
}
}
-
Update the Server, Port, and User ID as needed.
-
Then, create your second
appsettings.json
file in the Client project directoryPuppyLoveClient
-
Format your
appsettings.json
file as follows, including your unique password that was created at MySqlWorkbench installation:
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=puppy_love_user;uid=root;pwd=<YourPassword>;"
}
}
- Update the Server, Port, and User ID as needed.
- Navigate to
PuppyLove.Solution/PuppyLove
and typedotnet ef database update
into the terminal to create your Dog database. - Then, navigate to
PuppyLove.Solution/PuppyLoveClient
and typedotnet ef database update
into the terminal to create your User database.
- Navigate to
PuppyLove.Solution/PuppyLove
and typedotnet restore
into the terminal - Then, in the same API project directory, type
dotnet build
into the terminal followed bydotnet run
- Navigate to
PuppyLove.Solution/PuppyLoveClient
in a second terminal and typedotnet restore
into that terminal - Then, in the same Client project directory, type
dotnet build
into that terminal followed bydotnet run
- Peruse full functionality via the localhost
Feel free to navigate through the API endpoints via Postman or another API Client and peruse the CRUD functionality via the Client side views on the live server.
Certain information is available via query.
Dog Path Parameters
Parameter | Type | Description |
---|---|---|
name | string | Return matches by name |
owner name | string | Return matches by owner name |
mood | string | Return matches by mood |
age | int | Return matches by age |
size | string | Return matches by size |
location | string | Return matches by location |
user | string | Return matches by user |
Launch the project from the PuppyLove
project directory by typing dotnet run
into the terminal. Input http://localhost:5000/swagger
to view and interact with the Swashbuckle SwaggerUI.
- Microsoft Docs: Swagger Overview
- Microsoft Docs: Get Started with Swashbuckle
- GitHub Swashbuckle.AspNetCore README.md
This application does not successfully limit Edit and Delete functionality to the Dog profile creator.
Please feel free to reach out anytime:
- Jerrod [email protected]
- David [email protected]
- Jeff [email protected]
- Tawnee [email protected]
Expand Tech/tools
Copyright (c) 2021 Jerrod Styrk, David Sterry, Jeff Chiu and Tawnee Harris ⚖️