danfickle / pretty-resume

Generate a pretty resume! Templates based on salomonelli/best-resume-ever.

Home Page:https://prettyresume.openhtmltopdf.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pretty Print Example doesn't have enough info to run locally

paulterinho opened this issue · comments

Hi Dan,

I'm trying to run the pretty print example, but it's missing useful content in the readme. The only way to run it is to walk through the code.

It could also use the mention of the JSON to upload to initially populate the database.

No worries if this was intended, but it does make it hard to use as a person unfamiliar with the project.

Paul

Here's a Postman collection that might help (if you save this to a file, and open via postman, it will show you the various calls you can make if you aren't familiar with it):

{
	"info": {
		"_postman_id": "9b7e3d51-62a7-4f56-8cf0-45ffe58e182b",
		"name": "PrettyResumeJava",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "http://0.0.0.0:4567/resume?id=1&token=test",
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {}
			},
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://0.0.0.0:4567/resume?id=1&token=test",
					"protocol": "http",
					"host": [
						"0",
						"0",
						"0",
						"0"
					],
					"port": "4567",
					"path": [
						"resume"
					],
					"query": [
						{
							"key": "id",
							"value": "1"
						},
						{
							"key": "token",
							"value": "test"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "http://0.0.0.0:4567/",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://0.0.0.0:4567/",
					"protocol": "http",
					"host": [
						"0",
						"0",
						"0",
						"0"
					],
					"port": "4567",
					"path": [
						""
					]
				}
			},
			"response": []
		},
		{
			"name": "http://0.0.0.0:4567/raw",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://0.0.0.0:4567/raw",
					"protocol": "http",
					"host": [
						"0",
						"0",
						"0",
						"0"
					],
					"port": "4567",
					"path": [
						"raw"
					]
				}
			},
			"response": []
		},
		{
			"name": "http://0.0.0.0:4567/upload",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "http://0.0.0.0:4567/upload?resumejson={\n   \"lang\":\"en\",\n   \"person\":{\n      \n      \"name\":{\n         \"first\":\"Jane\",\n         \"last\":\"Doe\"\n      },\n      \"position\":\"Software Developer\",\n      \"birth\":{\n         \"year\":1990,\n         \"location\":\"New York\"\n      },\n      \"experience\":[\n         {\n            \"company\":\"Company A\",\n            \"position\":\"Developer\",\n            \"timeperiod\":\"since January 2016\",\n            \"description\":\"Programming and watching cute cat videos.\"\n         },\n         {\n            \"company\":\"Company B\",\n            \"position\":\"Frontend Developer\",\n            \"timeperiod\":\"January 2015 - December 2015\",\n            \"description\":\"Fulfillment of extremly important tasks.\"\n         },\n         {\n            \"company\":\"Company C\",\n            \"position\":\"Trainee\",\n            \"timeperiod\":\"March 2014 - December 2014\",\n            \"description\":\"Making coffee and baking cookies.\"\n         }\n      ],\n      \"education\":[\n         {\n            \"degree\":\"Master of Arts\",\n            \"timeperiod\":\"March 2012 - December 2013\",\n            \"description\":\"Major in Hacking and Computer Penetration, University A, New York, USA.\"\n         },\n         {\n            \"degree\":\"Bachelor of Science\",\n            \"timeperiod\":\"March 2009 - December 2011\",\n            \"description\":\"Major in Engineering, University B, Los Angeles, USA.\"\n         }\n      ],\n      \"skills\":[\n         {\n            \"name\":\"HTML5\",\n            \"level\":99\n         },\n         {\n            \"name\":\"CSS3\",\n            \"level\":95\n         },\n         {\n            \"name\":\"JavaScript\",\n            \"level\":97\n         },\n         {\n            \"name\":\"Node.js\",\n            \"level\":93\n         },\n         {\n            \"name\":\"Angular 2\",\n            \"level\":60\n         },\n         {\n            \"name\":\"TypeScript\",\n            \"level\":80\n         },\n         {\n            \"name\":\"ES.Next\",\n            \"level\":70\n         },\n         {\n            \"name\":\"Docker\",\n            \"level\":99\n         }\n      ],\n      \"skillDescription\":\"Also proficient in Adobe Photoshop and Illustrator, grew up bilingual (English and Klingon).\",\n      \"contact\":{\n         \"email\":\"john.doe@email.com\",\n         \"phone\":\"0123 456789\",\n         \"street\":\"1234 Broadway\",\n         \"city\":\"New York\",\n         \"website\":\"johndoe.com\",\n         \"github\":\"johnyD\"\n      }\n   }\n}&templateslug=material-blue",
					"protocol": "http",
					"host": [
						"0",
						"0",
						"0",
						"0"
					],
					"port": "4567",
					"path": [
						"upload"
					],
					"query": [
						{
							"key": "resumejson",
							"value": "{\n   \"lang\":\"en\",\n   \"person\":{\n      \n      \"name\":{\n         \"first\":\"Jane\",\n         \"last\":\"Doe\"\n      },\n      \"position\":\"Software Developer\",\n      \"birth\":{\n         \"year\":1990,\n         \"location\":\"New York\"\n      },\n      \"experience\":[\n         {\n            \"company\":\"Company A\",\n            \"position\":\"Developer\",\n            \"timeperiod\":\"since January 2016\",\n            \"description\":\"Programming and watching cute cat videos.\"\n         },\n         {\n            \"company\":\"Company B\",\n            \"position\":\"Frontend Developer\",\n            \"timeperiod\":\"January 2015 - December 2015\",\n            \"description\":\"Fulfillment of extremly important tasks.\"\n         },\n         {\n            \"company\":\"Company C\",\n            \"position\":\"Trainee\",\n            \"timeperiod\":\"March 2014 - December 2014\",\n            \"description\":\"Making coffee and baking cookies.\"\n         }\n      ],\n      \"education\":[\n         {\n            \"degree\":\"Master of Arts\",\n            \"timeperiod\":\"March 2012 - December 2013\",\n            \"description\":\"Major in Hacking and Computer Penetration, University A, New York, USA.\"\n         },\n         {\n            \"degree\":\"Bachelor of Science\",\n            \"timeperiod\":\"March 2009 - December 2011\",\n            \"description\":\"Major in Engineering, University B, Los Angeles, USA.\"\n         }\n      ],\n      \"skills\":[\n         {\n            \"name\":\"HTML5\",\n            \"level\":99\n         },\n         {\n            \"name\":\"CSS3\",\n            \"level\":95\n         },\n         {\n            \"name\":\"JavaScript\",\n            \"level\":97\n         },\n         {\n            \"name\":\"Node.js\",\n            \"level\":93\n         },\n         {\n            \"name\":\"Angular 2\",\n            \"level\":60\n         },\n         {\n            \"name\":\"TypeScript\",\n            \"level\":80\n         },\n         {\n            \"name\":\"ES.Next\",\n            \"level\":70\n         },\n         {\n            \"name\":\"Docker\",\n            \"level\":99\n         }\n      ],\n      \"skillDescription\":\"Also proficient in Adobe Photoshop and Illustrator, grew up bilingual (English and Klingon).\",\n      \"contact\":{\n         \"email\":\"john.doe@email.com\",\n         \"phone\":\"0123 456789\",\n         \"street\":\"1234 Broadway\",\n         \"city\":\"New York\",\n         \"website\":\"johndoe.com\",\n         \"github\":\"johnyD\"\n      }\n   }\n}"
						},
						{
							"key": "templateslug",
							"value": "material-blue"
						}
					]
				}
			},
			"response": []
		}
	]
}