Skip to content

k3v-d3v/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url-shortener

URL Shortener - A simple URL shortener service using Express, Prisma, and SQLite.

Getting Started

Run the following commands to get started:

npm install
npm run migrate
npm start

Make curl requests to shorten URLs:

curl -X POST -H "Content-Type: application/json" -d '{"url": "https://www.google.com"}' http://localhost:3000/shorten

Response:

{
  "shortUrl": "http://localhost:3000/<shortId>"
}

Visit root URL to see the list of shortened URLs

About

URL Shortener

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published