An single page application (SPA) that takes a GitHub username as input and displays the public Github repositories belonging to the user.
- Display the user’s information such as name, avatar, location, bio, Twitter and social media profiles(if exists)
- The page lists the repositories of the user along with the description and languages used.
- On clicking the repository, the GitHub repository open in a new tab of the browser
- If the username is invalid, shows an error page indicating an invalid GitHub username.
- Implemented Pagination
- By default, show
10
repositories per page - Show list of pages in the bottom and user can choose from any page or can just go to next page
- By default, show
To run this project, you will need to add the following environment variables to your .env file
PORT
IP
Client: Angular 10+ , Bootstrap
Server: Node.js, Express.js , Mocha ,Chai
Tools: Postman , Netlify , Heroku , Github , VSCode
-
Make sure you have Node.js and Angular CLI installed on your machine. You can download them from the official website.
-
Clone the Angular project repository to your local machine using git clone command
Clone the project
git clone https://github.com/KshitijDarekar/github-repo-listing-frontend.git
Go to the project directory
cd github-repo-listing-frontend
Install dependencies
npm install
Start a local development server
ng serve
Open a web browser and navigate to http://localhost:4200/. The Angular application should now be running locally
This is the frontend repository of the project. Here is the link to the backend repository: 👉 Backend Repository
This project was generated with Angular CLI version 12.0.0.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.