Skip to content

A simple URL/link shortener created using Express.js and Supabase

License

Notifications You must be signed in to change notification settings

BlackdestinyXX/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL/link shortener created with Express.js and Supabase

☄️ What I learned from this project

  • I got better with using Express.js (especially about routing and controllers)
  • I learned the basics ùof Supabase (setup a project and basic functions)

⭐ How to run the project

  1. If you don't have it, install Node.js
  2. Clone this repository
  3. Run npm install in the cloned repository folder
  4. Create a .env file with keys SUPABASE_KEY and SUPABASE_URL
  5. Create a Supabase account and a project
  6. In the project, create a table called urls with a url and redirect-url columns (all colums must be of type string)
  7. Write Supabase key and Subabase url in the .env file
  8. Run npm start or node . in the cloned repository folder
  9. Open your browser and go to http://localhost:5000/
  10. Enjoy!

About

A simple URL/link shortener created using Express.js and Supabase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published