Mandarine.TS
Latest
Latest
  • Mandarine.TS
  • Getting started
    • Installing Deno Runtime
    • Setting up Environment
    • Quick Example
  • Concepts
  • Mandarine Project Structure
  • Mandarine CLI
    • CLI Reference
      • mandarine new
      • mandarine generate
      • mandarine run
  • Mandarine Core
    • Core Initialization
    • Mandarine.json
    • Dot env file
    • Properties
      • The @Value Decorator
    • Components
      • Controller
      • Middleware
      • Repository
      • Component
      • Service
      • Configuration
      • Manual Component
    • Dependency Injection
      • Accessing DI container
    • Resource Handlers
      • Resource Handler Registry
      • Resource Handler
      • Resource Resolver
  • Mandarine MVC
    • Web MVC
    • Controllers
      • Routes
        • Parameterized Routes
      • HTTP Handlers
      • @ResponseStatus
    • Custom Middleware
    • Session Middleware
    • CORS Middleware
    • Template Engine
      • @Render Decorator
      • Accessing data from template
    • Launching web-app
    • Serving Static Content
    • Multipart Form Data
  • Mandarine Security
    • Sessions
  • Mandarine Data
    • ORM
      • Data source
      • Models
      • Repositories
        • Interacting with data
        • Updating data
    • Mandarine Query Language
  • Resources
    • Changelog
  • Plugins
    • Optional
    • Promise Repeater
Powered by GitBook
On this page

Was this helpful?

Mandarine Project Structure

PreviousConceptsNextCLI Reference

Last updated 4 years ago

Was this helpful?

Mandarine has a default project structure where your back-end side files and front-end side files (Such as templates) will be located. It is not necessary to follow the recommended structure, although, certain files & folders are necessary for Mandarine to work such as:

  • ./src/main/resources/properties.json

    • Where your application's properties are located. See more

The recommended structure is the following

- MyProject
        - src
            - main
                - mandarine
                       - app.ts
                - resources
                       - properties.json
                       - templates
 tsconfig.json                 
  • /src/main/mandarine/app.ts

  • /src/main/resources/properties.json

here
Single entry point file
Mandarine Properties