package com.alttd.altitudeweb;

import com.alttd.altitudeweb.setup.Connection;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = {"com.alttd.altitudeweb"})
@EnableAspectJAutoProxy
@EnableScheduling
public class AltitudeWebApplication {

    public static void main(String[] args) {
        Connection.initDatabases();
        SpringApplication.run(AltitudeWebApplication.class, args);
    }

}
