This is a web application built using Django Rest Framework (DRF), React, and Tailwind CSS. It serves as a portfolio website to showcase your projects and skills. The Django Rest Framework is used as the backend to provide API endpoints, while React and Tailwind CSS are used to build the frontend user interface.
Make sure you have the following software installed on your system:
Follow these steps to set up the project:
Clone the repository:
$ git clone https://github.com/your-username/your-repo.git
$ cd your-repo
Backend setup:
Create and activate a virtual environment (recommended):
$ python -m venv venv
$ source venv/bin/activate # For Linux/Mac
$ .\venv\Scripts\activate # For Windows
Install the required Python packages:
$ pip install -r requirements.txt
Apply migrations:
$ python manage.py migrate
Run the Django development server:
$ python manage.py runserver
Frontend setup:
Install the required npm packages:
$ cd frontend
$ npm install
Start the React development server:
$ npm start
The development server should start and open the website in your default browser.
Customize the Website:
frontend/src/components
directory to reflect your own projects, skills, and experiences.frontend/src/styles
directory using Tailwind CSS utility classes.Deployment:
When you're ready to deploy the website, follow the deployment guides for Django and React. Ensure that you configure the necessary settings for your production environment.
├── backend/ # Django backend project
│ ├── portfolio/ # Main Django app
│ ├── static/ # Static files for Django
│ └── ...
├── frontend/ # React frontend project
│ ├── public/ # Public assets
│ ├── src/ # React components and styles
│ ├── package.json # npm package dependencies
│ └── ...
├── .gitignore # Git ignore file
├── README.md # Project documentation (you're reading it)
└── requirements.txt # Python package dependencies
Contributions are welcome! If you find any bugs or want to add new features, please submit an issue or a pull request. Make sure to follow the project's code style and guidelines.
This project is licensed under the MIT License. Feel free to use and modify the code as per your needs.
If you have any questions or suggestions, feel free to reach out to me at [email protected].