Comment on page
Application Structure
Gravity is updated weekly, so the files and structure in the video below will have changed and improved.
Controllers are located inside the
/controller
directory, the following come as standard:- accountController
- aiController
- authController
- demoController
- eventController
- feedbackController
- inviteController
- jobController
- keyController
- pushtokenController
- setupController
- socialController
- userController
- utilityController
Models are located in the
/model
directory, and the following are included for you:- account
- auth
- demo
- email
- feedback
- invite
- key
- knex
- log
- login
- mongo
- openai
- pushtoken
- setup
- stripe
- token
- user
Helpers are located in the
/helper
directory, and the following are included for you:- chart
- file
- mail
- notification
- s3
- utility
Views will either be located inside the
/client/src/views
directory if you're using Gravity Web as your front-end client or else in the /app/views
directory inside your Gravity Native installation folder.
Last modified 2mo ago