An open API service indexing awesome lists of open source software.

https://github.com/hougesen/portfolio-razor

Basic replica of my portfolio (https://mhouge.dk) made using C# Razor.
https://github.com/hougesen/portfolio-razor

csharp github portfolio

Last synced: about 2 months ago
JSON representation

Basic replica of my portfolio (https://mhouge.dk) made using C# Razor.

Awesome Lists containing this project

README

          

# portfolio-razor

Replica of my [portfolio](https://github.com/hougesen/portfolio) made using C# Razor.

The website can be seen [here](https://hougesen-portfolio-sbr4o.ondigitalocean.app/).

This website automatically fetches data from my [Github](https://github.com/hougesen) using the Github GraphQL API.

Feel free to use it as a template if you wish.

## Fetching Github user information

To fetch Github user information you have to create a Github personal access token (only public permisssions needed).

```js
const query = gql`
query GET_PROJECTS {
user(login: `${YOUR_GITHUB_HANDLE}`) {
name
login
bio
avatarUrl
company
location
twitterUsername
pinnedItems(first: 6) {
nodes {
... on Repository {
name
description
homepageUrl
url
languages(first: 3, orderBy: {field: SIZE, direction: DESC}) {
nodes {
name
color
}
}
}
}
}
}
}
`;
```