Template Engine to create and retrieve customer templates.
Install dependencies through pip install -r requirements.txt
- Change directory to
website
. - Run server through
python manage.py runserver
command.
- The project is at
website
. - The Template Engine app is at
website/te
. - The MongoDB is hosted on cloud in a Mongo Atlas cluster.
- The app's logic is broken down into
views.py
handles the logic for url endpoints.view_models.py
acts as the bridge between the view layer and the model layer, It handles the high-level model needs of the view.template_engine_model.py
handles the low level transactions with the database.
- Unit tests for the code are present in
te/tests
main.py
file contains helper functions to send requests to the server.- Run the django server before using the helper functions.