Skip to content

Web server project redirecting: "/" leads to GitHub profile, other paths look for repository data in API, redirecting if exists or displaying custom error.

Notifications You must be signed in to change notification settings

LautyDev/Github-Redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Redirect

Github top language Github language count Repository size

About   |   Demo   |   Requirements   |   Starting   |   Author


🎯 About

This project consists of a web server that redirects requests to a GitHub profile or to specific repositories. When the path is "/", it redirects to the GitHub profile. For other paths, it attempts to access information from a repository through the GitHub API. If the repository exists, it redirects to its URL; otherwise, it displays a custom error page.

👀 Demo

https://gh.lauty.dev/

✅ Requirements

🏁 Starting

# Clone this project
$ git clone https://github.com/LautyDev/Github-Redirect

# Access
$ cd Github-Redirect

# Install dependencies
$ pnpm i

# Run the project
$ pnpm start

# The server will initialize in the <http://localhost:3002>

Made with ❤️ by LautyDev

 

Back to top

About

Web server project redirecting: "/" leads to GitHub profile, other paths look for repository data in API, redirecting if exists or displaying custom error.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published