Permalink
Browse files

sample data added

  • Loading branch information...
dchymko committed Mar 27, 2012
1 parent f4d998b commit bd7e38477d7e312f50ceaa9ce50488dd4e61019a
Showing with 125 additions and 0 deletions.
  1. +2 −0 MongoResume/MongoResume.csproj
  2. +29 −0 MongoResume/Readme.MD
  3. +2 −0 MongoResume/Web.config
  4. +92 −0 MongoResume/sampleMongoRecord.txt
@@ -120,6 +120,7 @@
<Content Include="Rotativa\README.txt" />
<Content Include="Rotativa\ssleay32.dll" />
<Content Include="Rotativa\wkhtmltopdf.exe" />
+ <Content Include="sampleMongoRecord.txt" />
<Content Include="Scripts\jquery-1.5.1-vsdoc.js" />
<Content Include="Scripts\jquery-1.5.1.js" />
<Content Include="Scripts\jquery-1.5.1.min.js" />
@@ -169,6 +170,7 @@
<ItemGroup>
<Content Include="App_Browsers\qt.browser" />
<None Include="mongolab.config" />
+ <None Include="Readme.MD" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
View
@@ -0,0 +1,29 @@
+Mongo Resume
+==
+
+A simple datadriven resume example I write to learn MVC3 & Mongo DB in .NET
+
+## Live Demo
+See [my resume](http://resume.darylchymko.ca) for a live version running on AppHarbor.
+
+## Getting started
+
+1. Fork or clone the repo.
+2. Signup for an account at MongoLab
+3. Create a collection called "resume" and create a document that uses the formatting in "sampleMongoRecord.txt"
+4. Edit the web.config <appSettings> section to point to your mongoLab instance
+5. Run the app
+
+
+## About
+This is intended to be a quick and dirty example to get you started with MVC3 and Mongo in .NET. I am sure there are more optimal ways of doing things, but I needed to start somewhere. It used MVC3/ and Razor for the front end and Mongo with strongly-typed models for the back-end. I also included Rotativa to enable on the fly PDF rendering. Please feel free to copy and modify this code to your hearts content.
+
+
+## Thanks
+* The C# is based [this](https://github.com/friism/MvcMongoDbTestApplication) AppHarbor MongoDB demo
+* I used 10Gen's [C# Mongo Driver](http://www.mongodb.org/display/DOCS/CSharp+Language+Center)
+* HTMl/CSS from [Sample Resume Template](http://sampleresumetemplate.net/) by [Matt Brown](https://twitter.com/#!/brownthings)
+* [Rotativa](http://nuget.org/packages/Rotativa/) used for PDF conversion
+
+##Technical caveats
+I had to add the Premotion Appharbor fix to get Rotativa working in AppHarbor. This has to do with how some of the routing gets re-mapped by their load balancer. See [premotion](http://nuget.org/packages/Premotion.AspNet.AppHarbor.Integration) for more details. If you are self-hosting this may or may not cause conflict so it's probably safe to get rid of.
View
@@ -9,6 +9,8 @@
<add key="webpages:Version" value="1.0.0.0" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
+ <add key="MONGOLAB_URI" value="mongodb://username:password@xxxxx.mongolab.com:31087/dbname"/>
+
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.0">
@@ -0,0 +1,92 @@
+{
+ "_id": {
+ "$oid": "4f69b20cc2ec341b4843269c"
+ },
+ "resumeName": "First",
+ "resumeCode": "darylchymko1",
+ "firstName": "Daryl",
+ "lastName": "Chymko",
+ "email": "dchymko@infometrix.ca",
+ "phone": "(250)-859-0222",
+ "jobtitle": "Web Developer",
+ "profile": "Daryl works with exceptional teams building great applications that people love to use.",
+ "workExp": [
+ {
+ "jobTitle": "Contracted Developer",
+ "company": "Universal Mind",
+ "startDate": "2011-09-30T07:00:00.000Z",
+ "endDate": "2012-03-24T09:20:22.402Z",
+ "tasks": [
+ "Developed credit application web services for major North American bank using .NET WCF & MVC3",
+ "Built customized CMS for interior design firm with SiteFinity, C#.NET and WCF Web Services",
+ "Provided problem solving & best practices advice on issues and technical challenges"
+ ]
+ },
+ {
+ "jobTitle": "Owner / Senior Developer",
+ "company": "infoMetrix",
+ "startDate": "1999-05-30T07:00:00.000Z",
+ "endDate": "2012-05-30T07:00:00.000Z",
+ "tasks": [
+ "Built a PHP Facebook app that has thousand of interactions per day by a user base of over one million.",
+ "Created a career-based web application with advanced resume searching and matching logic",
+ "Worked with brands such as Nestle and Free the Children"
+ ]
+ },
+ {
+ "jobTitle": "Contracted Web Developer",
+ "company": "Yamnusa Mountain Adventures",
+ "startDate": "2010-09-30T07:00:00.000Z",
+ "endDate": "2012-05-30T07:00:00.000Z",
+ "tasks": [
+ "Developed a trip reservation system that integrated with a 3rd party CRM via web services",
+ "Implemented cross-platform encryption between servers to protect sensitive credit card data",
+ "Led project communications and conveyed technical terminology to the client in business terms"
+ ]
+ },
+ {
+ "jobTitle": "Contracted Web Developer",
+ "company": "Fujitsu",
+ "startDate": "2004-02-01T07:00:00.000Z",
+ "endDate": "2005-12-30T09:20:22.402Z",
+ "tasks": [
+ "Built a web-based exam system that would see daily use in testing centers across Canada",
+ "Created web forms for applicants to electronically apply to provincial apprenticeship programs"
+ ]
+ }
+ ],
+ "skillGroups": [
+ {
+ "groupName": "Web",
+ "skillList": [
+ "ASP.NET",
+ "C#",
+ "VB",
+ "PHP",
+ "Kohana",
+ "Java",
+ "HTML5",
+ "AJAX",
+ "jQuery"
+ ]
+ },
+ {
+ "groupName": "Database",
+ "skillList": [
+ "Advanced queries & optimization in MSSQL & MySQL"
+ ]
+ },
+ {
+ "groupName": "API",
+ "skillList": [
+ "Zendesk",
+ "Facebook",
+ "Twilio",
+ "Twitter using JSON",
+ "XML",
+ "SOAP",
+ "REST"
+ ]
+ }
+ ]
+}

0 comments on commit bd7e384

Please sign in to comment.