Initial commit from Gomix.
This commit is contained in:
		
							parent
							
								
									81eabe58c1
								
							
						
					
					
						commit
						a6dbd2e7db
					
				
					 7 changed files with 221 additions and 2 deletions
				
			
		
							
								
								
									
										44
									
								
								views/index.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								views/index.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,44 @@ | |||
| <!DOCTYPE html> | ||||
| 
 | ||||
| <html> | ||||
| 
 | ||||
|    <head> | ||||
|       <title>File Metadata</title> | ||||
|       <link rel="shortcut icon" href="https://cdn.hyperdev.com/us-east-1%3A52a203ff-088b-420f-81be-45bf559d01b1%2Ffavicon.ico" type="image/x-icon"/> | ||||
|       <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css"> | ||||
|       <link href="/public/style.css" rel="stylesheet" type="text/css"> | ||||
|    </head> | ||||
| 
 | ||||
|    <body> | ||||
| 
 | ||||
|       <div class="container"> | ||||
|         <h2>API Project: File Metadata Microservice</h2> | ||||
|         <h3>User Stories:</h3> | ||||
|         <ol> | ||||
|           <li>I can submit a form object that includes a file upload.</li> | ||||
|           <li>The from file input field  has the "name" attribute set to "upfile". We rely on this in testing.</li> | ||||
|           <li>When I submit something, I will receive the file name, and size in bytes within the JSON response.</li> | ||||
|         </ol> | ||||
| 
 | ||||
|         <h3>Usage:</h3> | ||||
|         <p> | ||||
|           Please Upload a File ... | ||||
|         </p> | ||||
|         <div class="view"> | ||||
|           <h4 id="output"></h4> | ||||
|           <form enctype="multipart/form-data" method="POST" action="/api/fileanalyse"> | ||||
|             <input id="inputfield" type="file" name="upfile"> | ||||
|             <input id="button" type="submit" value="Upload"> | ||||
|           </form> | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="footer"> | ||||
|         <p> | ||||
|           by  | ||||
|           <a href="http://www.freecodecamp.com">freeCodeCamp</a> | ||||
|         </p> | ||||
|       </div> | ||||
|    </body> | ||||
| 
 | ||||
| 
 | ||||
| </html> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue