Git Product home page Git Product logo

patrikmarin.fi's Introduction

patrikmarin.fi

My portfolio website, recreated with React and TypeScript.

Structure

Application's front-end is created with create-react-app and uses Skeleton CSS framework.

Back-end contains a simple express.js server.

Data

Resume

Resume data is hosted locally and follows generally JSON Resume standard, with the exception of estimated graduation date.

Projects

Project data are fetched dynamically from Contentful and the data is cached for two minutes with Redis.

Photography

Photographs are fetched from Flickr and the data is also cached for two minutes.

Location

Location is sent from a React Native application that I created to act as a hub. Location is updated approximately every 30 minutes and shows the country and city where my phone is located. Location can also be removed from the application.

Small description about the location is fetched from Wikipedia using DBpedia's SPARQL endpoint.

Development

Requirements

  • Node
  • Yarn
  • Local redis server (e.g. brew install redis)

Steps

  1. Install dependencies in all main directories (root, server, client) with yarn
  2. Create .env file in server with required parameters defined in .env.template.
  3. Run redis-server with default parameters
  4. Run yarn run dev while in root directory

Testing

Currently CI runs only linter as no tests are defined. Tests could probably be added for testing redis cache and API calls.

Deployment

Application is hosted on Heroku, update to master branch will automatically trigger a new deployment. Beta version of the site is available at www.beta.patrikmarin.fi which is based on the dev-branch. Beta site has no SSL configured as it's a different Heroku application.

Simply creating a dyno with attached Heroku Redis add-on and pushing to heroku will work fine.

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.