Skip to content

This API application manages a message board database, with multiple endpoints to return Board(s), Thread(s), Post(s), and User(s), as well as all nested relationships. Model Hierarchy is: Board -> Thread -> Post, with one-many relationships between Users - Threads, and Users - Posts.

License

Notifications You must be signed in to change notification settings

jhenager/MessageBoardAPI.Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Message Board API

Entity Framework in ASP.NET API

By:

James Henager

Micheal Hansen

Ian Scott

About

This API application manages a message board database, with multiple endpoints to return Board(s), Thread(s), Post(s), and User(s), as well as all nested relationships. Model Hierarchy is: Board -> Thread -> Post, with one-many relationships between Users - Threads, and Users - Posts.

✅REQUIREMENTS

💻SETUP

  • to clone this content, copy the url provided by the 'clone or download' button in GitHub
  • in command line use the command 'git clone (GitHub url)'
  • open the program in a code editor
  • In appsettings.JSON, adjust the portion that reads, 'uid=root;pwd=epicodus' to reflect your own MySQL username and password; 'root' and 'epicodus' respectively.
  • In the command line enter 'dotnet ef database update'
  • navigate to the MessageBoard directory and type dotnet build in the command line to compile the code
  • type dotnet run in the command line to run the program __

User Stories

  • As a user, I want to be able to GET all messages related to a specific group.
  • As a user, I want to be able to POST messages to a specific group.
  • As a user, I want to be able to see a list of all groups.
  • As a user, I want to input date parameters and retrieve only messages posted during that timeframe.
  • As a user, I want to be able to PUT and DELETE messages, but only if I wrote them.

Known Bugs

There are currently no known bugs!

Support and contact details

Contact : James Henager (jameschenager@gmail.com) with any questions or concerns

Technologies Used

  • C#
  • ASP.NET MVC
  • Entity Framework
  • MySQL
  • RESTful routing
  • SWAGGER

About

This API application manages a message board database, with multiple endpoints to return Board(s), Thread(s), Post(s), and User(s), as well as all nested relationships. Model Hierarchy is: Board -> Thread -> Post, with one-many relationships between Users - Threads, and Users - Posts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •