Giter Club home page Giter Club logo

cv-app's Introduction

React/Context API

A web application which generates and prints a CV using user entered data. Features controlled forms, Hooks and is served by a Context API global state management solution. Prints out a copy of the user's entered information (though with minimal styling). There's lots of solutions out there with endless customisation, the idea is to create a clean CV quickly and with little fuss.

Lessons Learned

My first real React project (after putting the mandatory to do list together) - started off using scattered pieces of state in class based components, eventually decided to go away and learn Context API and Hooks to provide a more global place to store the app's info. Didn't have to get far into making an app before I started really appreciating how much cleaner state management solutions are.

First experience of using Hooks, can definitely see why people are doing away with class based components - removes the hassle of binding to this and being able to pass the setState method as props makes updating global state a lot easier.

Learned how to print a specified div from a JavaScript application - found a solution in the end, but not really happy with the outcome because it kills most of the styling. Will revisit this when I've learned more about node.js, it looks like Pupetteer would allow me to do this nicely.

Actually got a really good grasp of array methods from using this project (like map, filter, reduce) - one of the main reasons I like working with React is because it does make you a better JavaScript developer overall.

Potential Future Features

  • Running a server with Puppetteer to generate and print off a styled copy of the CV

  • Add a colour picker so that the user can, to some extent, customise the styling of the final CV - don't want to go too crazy with customization as the idea is to create something presentable to employers quickly

Deployment

Deployed with github pages.

Get started

From your command line, first clone this repo:

# Clone this repository
$ git clone https://github.com/rgneville/cv-app

# Go into the repository
$ cd cv-app

# Remove current origin repository
$ git remote remove origin

Then you can install the dependencies using NPM:

Using NPM:

# Install dependencies
$ npm install

# Start development server
$ npm start

You should now have a development server running in your default browser.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

cv-app's People

Contributors

rgneville avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

tagabaza

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.