Need to convert some handy units? Do it right in your localhost! This project, is my first official Python project. It is a very simple and weak-featured server-side web application developed with Flask and TailwindCSS + Daisy UI (Beta) for front-end stuff. It is also one of the projects of Roadmap.sh's Back-end project collection; you may be able to visit more info on the project here.
Quite a few steps! First, clone the repository:
git clone https://github.com/LittleOddBoy/unit-converter-py.git
To install dependencies both front-end and back-end, you may run:
# pnpm is recommended, but I think you can go with npm as well
pnpm install
# install requirements
pip install -r requirements.txt
I do recommend to make sure everything is all right; so you may run:
pnpm run build:css
And at the end, you can run the app; but this is the debugging mode version:
python3 app.py
Now, time to visit:
http://127.0.0.1:5000/
You're done!
Although it is a project to practice recent things I learnt, but I really welcome PRs; I don't want to miss the chance of learning more from your fantastic code! Feel free to drop a PR!