ywpark1 / portfolio-generator

Create the portfolio by filling out the form
MIT License
1 stars 8 forks source link

Load yaml file data #16

Open xwang345 opened 5 years ago

xwang345 commented 5 years ago

I am still working on...

test
ywpark1 commented 5 years ago

Thanks.

Can I ask why you removed portfolio directory from .gitignore file? I was putting it because all files in that directory are generated by the user for their portfolio, and we have the same files in templates directory.

Also, can you provide more information about this PR? We want to know more about this.

xwang345 commented 5 years ago

Yeah, I did remove the .gitignore because I want to modify your original HTML template file. At the same time, I want Git track what I doing in the template folder. I add a {} to receive the data that come from the cs file.

html

You can add any personal information in the yaml file

code

this is how it look like when type dotnet run --project ./Portfolio-generator-console/Portfolio-generator-console.csproj

web

Its display the yaml file informations.

xwang345 commented 5 years ago

I think this web app user don't want go to html to insert their information, so I use yaml file to store their info. then c# parse the yaml file and render it to the HTML.

ywpark1 commented 5 years ago

What I was thinking was generating html file from user's resume.

User uploads the resume, and this program extracts the data from the resume file(.docx), and put the data into the template by replacing the placeholder.

I did not want users to enter all information manually.

ywpark1 commented 5 years ago

That is why we were trying to work on #11 . I think your idea is not bad if we can convert docx to your yml file.

xwang345 commented 5 years ago

Okay I understand. I can work on this feature.