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 runservercommand.
- 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.pyhandles the logic for url endpoints.view_models.pyacts as the bridge between the view layer and the model layer, It handles the high-level model needs of the view.template_engine_model.pyhandles the low level transactions with the database.
- Unit tests for the code are present in
te/tests
main.pyfile contains helper functions to send requests to the server.- Run the django server before using the helper functions.