![Url Shortener Logo](./static/assets/url-shortener-logo.png)
A simple url shortener service built with Flask, providing a RESTful API for shortening urls.
Report Bug
✱
Request Feature
✱
Documentation
This project is a simple url shortener service built with Flask, providing a RESTful API for shortening urls. It was built as a learning guide for Flask and is referenced from a LinkedIn Learning course on Flask.
If you would like to know the course, please check the Acknowledgements section.
Installing the repository is as simple as cloning the repository and installing the dependencies; The following steps will guide you through the process.
- Clone the repository
git clone https://github.com/Hi-kue/url-shortener-flpy.git
- Change into the project directory
cd url-shortener-flpy
- Create a virtual environment using pipenv (make sure to have it installed)
pipenv shell
- Install the dependencies (pipenv)
pipenv install -r requirements.txt
- Install the dependencies (npm)
npm install
- Start both the backend and frontend services (2 terminals)
# Terminal 1
npm run build
# Terminal 2
flask start
You should now have the application running on http://localhost:5000
, or any other port you specified.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Please read the CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests. Any contributions you make are greatly appreciated.
This project was referenced from a LinkedIn Learning course covering the Flask framework. The course is titled Flask Essential Training by LinkedIn Learning.
Huge thanks to the author Nick Walter for the amazing course!