https://github.com/surajarchive/Marvel-Super-Hero
Marvel Super hero || learnign django
https://github.com/surajarchive/Marvel-Super-Hero
django marvel marvel-characters template-project
Last synced: about 1 month ago
JSON representation
Marvel Super hero || learnign django
- Host: GitHub
- URL: https://github.com/surajarchive/Marvel-Super-Hero
- Owner: smartcraze
- Created: 2024-06-07T07:27:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-07T07:29:35.000Z (over 1 year ago)
- Last Synced: 2024-11-09T03:38:50.179Z (11 months ago)
- Topics: django, marvel, marvel-characters, template-project
- Language: Python
- Homepage:
- Size: 82 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Marvel Superhero Collection
A simple Django-based web application to manage and display a collection of Marvel superheroes. This project was created as part of learning Django.
## Features
- Add, view, and manage a collection of superheroes.
- User-friendly UI to showcase superhero details.## Technologies Used
- **Backend**: Django
- **Frontend**: HTML, CSS
- **Database**: SQLite (default Django database)## Installation
Follow these steps to set up and run the project locally:
1. **Clone the repository**
Run the following command to clone the project:
```bash
git clone https://github.com/your-username/marvel-superhero-collection.git
cd marvel-superhero-collection2. Set up a virtual environment
Create and activate a virtual environment:On Linux/Mac:
```python -m venv venv
source venv/bin/activateOn Windows:
python -m venv venv
venv\Scripts\activate3. Install dependencies
Install the required Python packages:pip install -r requirements.txt
4. Run database migrations
Apply migrations to set up the database:python manage.py migrate
5. Start the development server
Start the Django development server:python manage.py runserver
6. Access the application
Open your browser and navigate to:http://127.0.0.1:8000
```
# Project Structure
```
marvel-superhero-collection/
│
├── heroes/ # App with models, views, templates
├── marvel_superhero_collection/ # Main Django project files
├── templates/ # HTML templates
├── static/ # Static files (CSS, JS, Images)
├── db.sqlite3 # Database
├── manage.py # Django management script
└── requirements.txt # Project dependencies
```
How to Use1. Access the app through the browser.
2. Add or view superheroes in the collection.
3. Use the Django admin panel for advanced management (optional).
Contributions
Contributions are welcome! Feel free to fork this repository, make improvements, and submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
---
Happy Coding!