WHAT WE WORKED ON 03.30.20
-
PhotoApi.Solution application
- Scaffolding an API using .NET
- Adding CRUD functionality to our photo controller
- Using parameters in GET requests to filter results from the database
- Matching usernames from POSTs to PUT/DELETE requests
- Parsing database objects to match parameter queries (with #hashtags)
- Using Data Annotations, including a RegEx data expression
- Attempted to integrate many-to-many relationships, before realizing this is better suited to NoSQL databases
WHAT WE WORKED ON 03.31.20
-
PhotoApi.Solution application
- Reviewed weekend readings and finish this week's readings
- Styled our app to act like pinterest and show real photos
- Finished CRUD functionality with MVC
- Built pagination into the api photosController
WHAT WE WORKED ON 04.1.20
-
PhotoApi.Solution application
- Added ability to count the number of photo objects returned from API
- Access this count from our MVC and display it dynamically in the view
- Add pagination functionality to our MVC Client
- Added search by tag with compatibility with pagination
WHAT KRISTA WORKED ON 04.2.20
- PhotoApi.Solution application
- Added Identity and configured EF and MySQL to PinterestClone project
- User authentication & authorization required for C-U-D but not R
- Account controller and views
- Some style changes to forms and image gallery
- Other
- Team week meetings
- troubleshooting MySQL and .Net Core versioning
Still left to do...
-
(PinterestClone) Create MVC part of our app
- Users/account login (remove "fixed" username with photo posts)
- Index for a specific user's photos?
-
Swagger/any documentation
-
API versioning (Adela?)
-
(PhotoApi) Add token-based authentication
- PinterestClone format
Navbar --
- "PinterestClone": index home - show a landing page/splash page
- no API call
- "Home": photos index - shows all photos
- API GET - getAll()
- "You/yourname": photos index with parameter passed - API GET - getAll(userName = "my_name")
- "PinterestClone": index home - show a landing page/splash page
C#/.NET Core API that allows access to photo URLs. This API includes all CRUD functionality to create, view, update, and delete photos in the database.
- Clone the repository on Github
- Open the terminal on your desktop
- $git clone "insert your cloned URL here"
- Change directory to the PhotoApi directory, within the PhotoApi.Solution directory
- $dotnet restore
- Recreate my database structure with migration:
- $dotnet ef migrations add Initial
- $dotnet ef database update
- Call this API with your web application or test out the requests using Postman.
- As a user, I want to be able to GET all photos related to a specific tag.
- As a user, I want to be able to POST photos to a specific tag.
- As a user, I want to be able to see a list of all tags.
- As a user, I want to input date parameters and retrieve only photos posted during that timeframe.
- As a user, I want to be able to PUT and DELETE photos, but only if I posted them.
- No known bugs
- C#
- .NET
- This software is licensed under the MIT license.