TLDR; Go to marcus.hansson.dev
You will need the following config file in your public folder public/config.js
window.ENV = {
GITHUB_PERSONAL_ACCESS_TOKEN: '',
SPOTIFY_CLIENT_ID: ''
};
You can get your github token here and create a spotify project here.
The easiest way to run this project is by using docker
docker run -v your_config.js:/me/config.js -p HOST_PORT:80 mackattack3k/me:stable
If you have npm / yarn installed clone this repo and run yarn install
git clone [email protected]:mackattack3k/me.git && cd me && yarn start
This is built using Create-React-App. So you can just clone and run install. Make sure you set up your config file as specified in the run section.
git clone [email protected]:mackattack3k/me.git && cd me && yarn install
The code is following a feature first
folder structure.
We are also not using redux in favor of Reacts Context API for as long as possible.
Prettier should also be used before committing and is therefor in a git hook per default