This is the recruitment test solution for the position of Python Developer at Accent to develop a basic movie database interacting with an external API.
The project can be installed using a virtual environment
- Python3.9.0
Creation of virtual environment was done using Venv.
as seen in .envexample , create a .env file and your IMDB API_KEY
TO set up the project, run the following command
git clone https://github.com/paultrigcode/AccentMovieAPI.git
cd into_the_project_folder
python3 -m venv env
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
After you are done with the installation, you should be able to access the API documentation at http:127.0.0.1:8000/swagger
.
- Python
- Django
- Django Rest Framework
- Swagger UI
- Venv
- SQLite
- SQLite is serverless as it doesn't need a different server process or system to operate.
- SQLite is a cross-platform DBMS that can run on all platforms, including macOS, Windows
- SQLite doesn't require any configuration. It needs no setup or administration and as such it easy to setup and run the project for the purpose of this assessment.
To run test run the command below :
python manage.py test