Wednesday, January 13, 2021

Clone Bitly

Clone Bitly (URL Shortener)


In this project, we aimed at cloning the popular URL shortening service, "bitly.com". I have tried my best to clone the website as well as I could. This website is fully responsive with the help of Bootstrap 4. Python powers the backend of the website. 

This website was a team project, which we created for the Web development hackathon organized by "JetBrains". There were two members in the team including me and I was the team leader. I developed the whole backend of the website, and for that, I used the Flask framework of Python. 

I implemented the logic to shorten the given URL and then expand them back when requested. I also created a separate dashboard for every user which the users can use to view the performance of the links shortened by them. For a particular link, I saved the location and click count whenever that link is opened anywhere in the world.

We won the First prize in this hackathon for the theme "Learn By Clone". 

Website: https://clonebitly.herokuapp.com/

Github Repository: https://github.com/Pirate2606/clonebitly


Tech Stack:

  • Python3
  • Flask
  • HTML, CSS, Javascript/jquery
  • PostgreSQL
  • SQLite3
  • Chart.js
  • Heroku
  • Ajax


Screenshots of the website:














Found a bug?

Post your issues here: https://github.com/Pirate2606/clonebitly/issues




Sunday, August 16, 2020

Android calculator app

 Calculator app


Created my first android app and no doubt it's a calculator app. While developing this app i learned a lot of new concepts such as:

  • Constraint layouts
  • XML
  • working with multiple buttons
  • creating different activities for portrait and landscape

 

 
 

Saturday, August 1, 2020

Coding-Platform

Naitan-Coding-Platform


Website: https://naitan-coding-platform.herokuapp.com

Hello readers, today I am going to tell you about my latest project on which I was working on for the last 3 weeks and I am glad that my project is finally in a form which can be shared with you guys. I have created a website which is similar to coding websites out there like leetcode, codechef, hackerrank etc.

Initially I thought of creating a website that will allow users to write and compile code online in Python and Java, but when i started building the website, I thought of adding other features also which will help the community. Therefore, along with the online real-time compiler I also added a ton of hand-picked coding questions from various popular coding websites, so that you can improve your coding skills. Moreover, the website also has a contest section in which you can get information about the ongoing contest, future contests and previous contests, which are hosted on codechef and hackerearth.

At last, I fetched the user profiles from three top coding websites: leetcode, codechef and hackerearth and displayed that data at one place. 

Therefore, in total, now you don’t need to visit several websites for search of good questions and contest info. You will get all that info at one spot.



What I used:

  • Python3
  • Flask
  • HTML, CSS, Javascript/jquery
  • PostgreSQL


What I learnt:

  • Web scraping
  • Deployment on Heroku
  • PostgreSQL
  • Google authentication using OAuth
  • Running background processes using “Threads”
  • Use of cookies

Screenshots of website:

Home page:


Online compiler:



Home page (after login):


Contest page:



Practice questions:


Profile page:





Found a bug?

Post your issues here: https://github.com/Pirate2606/compiler/issues

            OR

Use the feedback form: https://naitan-coding-platform.herokuapp.com/#contact

Wednesday, June 24, 2020

DASH

Solving open source issues

 

Made my first contribution to the open source world. Fixed a issue in DASH repository. DASH is a CLI tool for faster, safer and Smarter way to transfer files between two users.

BEFORE:




I added a new feature to this tool that will show the IP address of the client who opened your "send file" link and will also tell the IP address of the client when the file will be received by the user.

AFTER:




Important links:

Issue            : https://github.com/0xPrateek/DASH/issues/6
Pull request : https://github.com/0xPrateek/DASH/pull/26


Sunday, June 21, 2020

E-books

E-books: Created a website for downloading e-books

 This website helps the students who are doing B-Tech in the following courses:
  • Computer science engineering (CSE)
  • Information Technology (IT)
  •  Civil engineering (CE)
  • Electronics engineering (EC)
  • Electronics and communication engineering (ECE)
I provided the download links for various text books which are required by the students who are doing any of the course mentioned above. Along with the download links the website also contain the buy link so that people who want to buy the books can directly go to the product page.

Here are some images of the website:




Development of website:


I used HTML, CSS, Bootstrap4 for the front end development of the website and for the back end development i used Python/Flask. The creation of the website took about 1-2 weeks of time and i really enjoyed creating this website.

    Requirements:




        Project-structure:




Website view:


  Home:





  Books sorted semester wise:





  404 page:





Important links:


Source code of the website : https://github.com/Pirate2606/ebooks
Website link                         : http://pirate2606.pythonanywhere.com/




Tuesday, June 16, 2020

Electric Shop


E-commerce website


This is the first major website i created after learning python/flask. This website is a e-commerce website for selling electric items. I have given more importance to back end of the website rather than the front end.

Features of website:


  • Registration page
    • Sending e-mail to user after registration
  • Login manager
    • Remember me feature
  • Showing certain pages only if user in logged in
  • Individual profile pages for every user
    • Profile picture
  • Products tab for all the products available
  • My cart
  • Individual product information


Screenshots of website:







Development of website:


I used HTML, CSS, Bootstrap4 for the front end development of the website and for the back end development i used Python/Flask.

  Requirements:



  Structure:




Website View:



Important links: