Heroes is a web application that allows users to view and manage a database of heroes. The application is built using a combination of Django on the backend and Angular on the frontend.
To run the Heroes application, you will need to have the following software installed on your system:
- Python 3.9 or later
- Node.js 12.0 or later
- Angular CLI 12.0 or later
Once you have installed these dependencies, follow these steps to install and run the application:
-
Clone the Heroes repository:
git clone https://github.com/IslamMesha/heroes.git
-
Install the backend dependencies:
cd heroes/backend pip install -r requirements.txt
-
Set up the database:
python manage.py migrate
-
Install the frontend dependencies:
cd ../frontend npm install
-
Build the frontend:
ng build --prod
-
Start the backend server:
cd ../backend python manage.py runserver
-
Open the application in your web browser:
http://localhost:8000/
The Heroes application allows users to view and manage a database of heroes. Users can perform the following actions:
- View a list of all heroes
- View details for a specific hero
- Add a new hero
- Edit an existing hero
- Delete a hero
If you would like to contribute to the Heroes project, please follow these steps:
-
Fork the repository on GitHub.
-
Clone your fork locally:
git clone https://github.com/IslamMesha/heroes.git
-
Create a new branch for your feature or bug fix:
git checkout -b [branch-name]
-
Make your changes and commit them:
git commit -m "[commit-message]"
-
Push your changes to your fork:
git push origin [branch-name]
-
Submit a pull request on GitHub.
Heroes app is released under the MIT. See LICENSE for more information.
Heroes was created by IslamMesha.