Giter Club home page Giter Club logo

personal-portfolio-react-flask's Introduction

Personal Portfolio

This is a personal portfolio website for showcasing my projects and resume. The website is built using React for the frontend and Flask for the backend, and it connects to a MongoDB database to fetch project data from my GitHub repositories. Feel free to use this as a template for your own Personal Website ๐Ÿ˜Š

Table of Contents

Demo

You can check out the live demo of the website here.

Features

  • Responsive design for different screen sizes
  • Starry background animation
  • Fetch and display projects from GitHub repositories
  • Download resume functionality
  • Modern and clean UI/UX design

Technologies Used

  • Frontend: React, HTML, CSS
  • Backend: Flask, Python
  • Database: MongoDB
  • Styling: CSS3
  • API: GitHub API

Setup

Prerequisites

  • Node.js and npm installed
  • Python and pip installed
  • MongoDB database

Frontend

  1. Clone the repository
    git clone https://github.com/DaniyalAhm/personal-portfolio.git
    cd personal-portfolio
  2. Navigate to the frontend directory and install dependencies
    cd frontend
    npm install
  3. Start the React development server
    npm start

Backend

  1. Navigate to the backend directory
    cd backend
  2. Create a virtual environment and activate it
    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install the required dependencies
    pip install -r requirements.txt
  4. Create a .env file in the backend directory and add your environment variables
    GITHUB_TOKEN=your_github_token
    MONGO_URI=your_mongo_db_uri
    
  5. Run the Flask server
    python backendmain.py

Usage

Once the setup is complete, you can access the website at http://localhost:3000 (or the port specified by React) and the backend server at http://localhost:5000.

API Endpoints

  • GET /repos: Fetches the list of repositories from GitHub and updates the MongoDB database.

Screenshots

Portfolio Screenshot

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.