adding working mission trip forms
This commit is contained in:
parent
6603d2c6bc
commit
67fb7b0f00
16 changed files with 104 additions and 581 deletions
13
src/main.rs
13
src/main.rs
|
@ -7,12 +7,13 @@ use actix_web::body::MessageBody;
|
|||
use actix_web::dev::{ServiceRequest, ServiceResponse};
|
||||
use actix_web::{web, App, Error, HttpServer};
|
||||
use api::camp_form::camp_form;
|
||||
use api::church_form::church_form;
|
||||
use api::health_form::health_form;
|
||||
use api::local_trip_form::local_form;
|
||||
use api::mt_form::mt_form;
|
||||
use api::parent_form::parent_form;
|
||||
use api::teacher_form::teacher_form;
|
||||
use api::{
|
||||
mt_church_form::mt_church_form, mt_parent_form::mt_parent_form,
|
||||
mt_teacher_form::mt_teacher_form,
|
||||
};
|
||||
use color_eyre::eyre::Context;
|
||||
use color_eyre::Result;
|
||||
use sqlx::{Connection, SqliteConnection};
|
||||
|
@ -89,9 +90,9 @@ async fn main() -> std::io::Result<()> {
|
|||
.app_data(TempFileConfig::default().directory("./tmp"))
|
||||
.service(mt_form)
|
||||
.service(health_form)
|
||||
.service(parent_form)
|
||||
.service(teacher_form)
|
||||
.service(church_form)
|
||||
.service(mt_parent_form)
|
||||
.service(mt_teacher_form)
|
||||
.service(mt_church_form)
|
||||
.service(local_form)
|
||||
.service(camp_form)
|
||||
.service(Files::new("/", "./public").index_file("index.html"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue