Want to contribute? Fork me on Codeberg.org!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
303 B

mod database;
pub use database::*;
mod dictionary;
pub use dictionary::*;
mod server;
pub use server::*;
mod word;
pub use word::*;
fn main() {
const PORT: u16 = 8080;
let mut server = Server::new(PORT)
.expect(&format!("Failed to start server at port {PORT}"));
server.run();
}