I developed a Python and Svelte demo application to showcase some of my skills in these languages. For the web API, I chose Flask (small and flexible), and for the frontend, I utilized SvelteKit (also small and felxible). This demo includes the following features:
- YouTube to MP4 converter
- Image Generator With StableDiffusion API
- Web Scraping
- TODO App
- Sveltekit Frontend (SSR)
- Typescript
- Tailwind
- Python Backend with Flask
- Selenium for web-scraping
- Replicate for AI
- Pytube for YoutTube download
Here are the steps you need to follow to install the dependencies in both directories.
Clone the repo, or download it as a zipfile, and extract it.
- cd into the "client" directory then run this command to install the dependencies
npm install
-
Create .env file (client root) based on .env.example (or just rename it to .env)
-
Start the project on the local server
npm run dev
It’ll start the app on http://localhost:5173
- cd into the "server" directory then run this command to install the dependencies
pip install -r requirements.txt
OR
pip3 install -r requirements.txt
- Start the project on the local server
python index.py
It’ll start the server on http://127.0.0.1:5000