fariasmateuss / Community User Profile
Programming Languages
Projects that are alternatives of or similar to Community User Profile
Table of Contents
Tech
- TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
- React - A JavaScript library for building user interfaces.
This project was bootstrapped with Create React App.
Getting Started
-
To run this project in the development mode, you'll need to have a basic environment with NodeJs and Yarn installed;
-
Clone this repository:
git clone https://github.com/fariasmateuss/community-user-profile.git
- In the project directory, install all dependencies:
yarn
- Runs the app in the development mode:
yarn start
- And finally open http://localhost:3000 to view it in the browser;
The page will reload if you make edits.
You will also see any lint errors in the console.
Usage
Getting started add your username in the USERNAME_KEY variable.
key | description | default |
---|---|---|
USERNAME_KEY | Username used in REST Endpoints | fariasmateuss |
In this project, there are requests for the following GitHub and DEV Community REST endpoints.
GitHub
Get a user
Provides publicly available information about someone with a GitHub account.
curl https://api.github.com/users/{USERNAME_KEY}
List repositories for a user
Lists public repositories for the specified user.
curl https://api.github.com/users/{USERNAME_KEY}/repos
DEV Community
List articles for a user
Lists articles for the specified user.
curl https://dev.to/api/articles?username={USERNAME_KEY}
Contributing
You can send how many PR's do you want, I'll be glad to analyse and accept them! And if you have any question about the project...
Connect with me at LinkedIn
Thank you!
License
Made with ♥ by Mateus V. Farias
This project is under the MIT License