use rocket::*;
pub mod add_data;
pub mod delete;
pub mod display_data;
pub mod functions;
pub mod null_write;
pub mod cashe;
#[get("/")]
pub fn index() -> &'static str {
"Welcome to RustStore!\n\
The current routes are \n\
=> GET / (index) \n\
=> GET /read/<path>/<api_key> (read data)\n\
=> GET /add/<path>/<data_name>/<data>/<api_key> (add data)\n\
=> GET /delete/<path>/<api_key> (delete data)\n\
=> GET /null_write/<path>/<api_key> (null_write)\n\
"
}