Piefy is a URL Shortener made with Node.js and PostgreSQL. This was created as a personal project to learn how a URL shortening service works.
Note: Since this was intended as a personal project, the shortened url generated is not exactly "short". The project is hosted only for free in Vercel, so the domain name is a default one.
- Paste or enter the original link you want to shorten.
- Click the "Slice Away!" button to shorten it.
- Wait for the process to finish.
- Once the link is generated, click the "Copy" button to copy the shortened URL.
- Use the link to your heart's content and enjoy! :)
- Clone the repository to your directory.
- Navigate to the directory the repository is located.
- Install all the dependencies needed for the project.
- Configure the source code if you want. (database URI, port, etc.)
- Run the application.
- Open the web app locally from your browser on port 8000 (or on your configured port).
- Enjoy!
git clone https://github.com/jazellecruz/piefy.git
npm install
node server.js
or
nodemon
Note: Nodemon is installed as a dependency.
http://localhost:8000
Any contribution is welcome. Just kindly make a pull request. For major changes, please open an issue first to discuss what you would like to change.
piefy.vercel.app - live demo of the web app.
jazzcruz.vercel.app - developer's personal website.