Deployed Link: https://how-to-guide-unit4-build.herokuapp.com/
Users will need to register and then login to be able to access an option to create their own how to guides.
Expected request body:
{
"username": "test",
"password": "test"
}
Returns:
{
"id": 2,
"username": "test"
}
Expected login body:
{
"username": "test",
"password": "test"
}
Returns:
{
"message": "Welcome test",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0IjozLCJ1c2VybmFtZSI6IkJpbGx5IiwiaWF0IjoxNTg4MDI2OTg1LCJleHAiOjE1ODgxMTMzODV9.CCW4iB3uIdoYIFcdfb9962TO8YlsrCAv8GhFJcn1hys"
}
Gets a list of users. You probably wont need this but this is the baseURL for the next few endpoints.
Gets the user information by id
Deletes the user with that id
Gets the all the guides
Gets the guide for that id
Lets you create a new guide
{
guides_id: 1,
title: "How to Write a Check!",
description: 'Step 1: Put the current date in the top right. Step 2: Write the name of the individual or company you are paying. Step 3: Write the dollars amount in the box. Step 4: Write the dollars amount in words along the line to the left of the amount box. Step 5: Last step, and most important. You need to write your signature on the the check. If you do not, the check will not be valid.',
image: 'https://cdn.pixabay.com/photo/2016/04/02/14/01/money-1302835_960_720.jpg'
}
Lets you update a listing with that id
{
guides_id: 1,
title: "How to Write a Check!",
description: 'Step 1: Put the current date in the top right. Step 2: Write the name of the individual or company you are paying. Step 3: Write the dollars amount in the box. Step 4: Write the dollars amount in words along the line to the left of the amount box. Step 5: Last step, and most important. You need to write your signature on the the check. If you do not, the check will not be valid.',
image: 'https://cdn.pixabay.com/photo/2016/04/02/14/01/money-1302835_960_720.jpg'
}
Lets you delete a listing with that id
Problem: People need help figuring out how to learn unfamiliar tasks Solution: Have a central location for people to store and share information Mission Statement: Learn how to do everything in one place
Backend Implementation Sign up page Sign in page Search by category (set list of categories) Home page with add button for contributors User detail page with saved guides Contributor page Guide Creation page Upvote/like
Swiftlint will be used for iOS to ensure code quality Firebase may be used for storing video and/or image data
Feature freeze EOD Wednesday Thursday polish Friday bugs?
Fill: #1A3263 Accent: #F5564E Accent2: #FAB95B Background: #E8E2DB