Application folder and file structure

The example REST API requires specific files and folders to be created. The outer folder, called arenaapp, will contain the app.py file and the folder called application. Create the folder called arenaapp. Inside of it, create a folder called application. Inside of application, create the folders static and templates:

The other files, views.py, models.py, and forms.py, will be located inside of application. Two folders, static and templates, will store application data and HTML forms:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset