You have 2 choices for using this project :
You have to install docker and docker-compose then run the following command :
docker-compose up
It will install all dependencies and launch both application (Backend and Frontend)
Without using docker :
backend/
directory
- Install python dependencies :
poetry install
- Enter the virtualenv :
poetry shell
- Start the development server :
python manage.py runserver
frontend/list_of_movies/
directory
- Install dependencies :
yarn install
- Start the development server :
yarn serve
When the application is running you would find :
- a database manager at : http://localhost:8000/admin (with credentials : admin, admin)
- a Graphql API UI tester at : http://localhost:8000/graphql/ (Where you could query your API) -> This is the same adress that front use for calling it
Graphql routes are declared in file : backend/list_of_movies/schema.py
The entrypoint of all components of the application is located at frontend/list_of_movies/src/App.vue
GLHF!