- Python
- Django
-
Clone the repository:
git clone https://github.com/jayantpranjal0/FavoriteTunes.git
-
Change into the project directory:
cd FavoriteTunes
-
Install the project dependencies:
pip install -r requirements.txt
-
Run database migrations:
python manage.py migrate
-
Run
python manage.py runserver
- Run
and enter relvant details.
python manage.py createsuperuser
- Open the browser and go to http://localhost:8000/ for introductory screen.
- Go to http://localhost:8000/admin/ and login with the superuser credentials.
- Add the songs and artists in the database.
- Go to http://localhost:8000/songs and http://localhost:8000/artists to see the list of songs and artists respectively.
- Go to http://localhost:8000/songs/<song_id> to see the details of the song with id <song_id>.
- Go to http://localhost:8000/artists/<artist_id> to see the details of the artist with id <artist_id>.
- Go to http://localhost:8000/add_song to add a new song.
- Go to http://localhost:8000/add_artist to add a new artist.