This project is a Django application using Poetry for dependency management.
- Python 3.12+
- Poetry >=2.0.0
-
Clone the repository and navigate into the project directory
git clone [email protected]:hlbmtc/challenge-boilerplate.git cd prism-challenge
-
Install dependencies
poetry install
-
Apply database migrations
poetry run python manage.py migrate
-
Run the development server
poetry run python manage.py runserver
-
Access the API
Open your browser and go to http://127.0.0.1:8000
poetry run pytest
prism/
: Main Django project configurationquestions/
: Django app for handling question-related logicutils/
: reusable utility functions
-
Navigate to the
front_end
directorycd front_end
-
Install dependencies
npm i
-
Create
.env
file infront_end
directory (see.env.example
for reference) -
Start the development server
npm run dev