- Add ESLint configuration for Next.js and TypeScript support. - Create Next.js configuration file with standalone output option. - Initialize package.json with scripts for development, build, and linting. - Set up PostCSS configuration for Tailwind CSS. - Add SVG assets for UI components. - Create TypeScript configuration for strict type checking and module resolution.
34 lines
626 B
TOML
34 lines
626 B
TOML
[package]
|
|
name = "api"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "api"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
axum = { workspace = true, features = ["macros", "query"] }
|
|
serde = { workspace = true }
|
|
tower = { workspace = true }
|
|
tracing = { workspace = true }
|
|
validator = { workspace = true, features = ["derive"] }
|
|
|
|
tower-http = { version = "0.6.6", features = ["fs"] }
|
|
tower-cookies = "0.11.0"
|
|
anyhow = "1.0.98"
|
|
dotenvy = "0.15.7"
|
|
|
|
# db
|
|
sea-orm = { workspace = true }
|
|
|
|
# doc
|
|
utoipa = { workspace = true }
|
|
|
|
# local dependencies
|
|
app = { path = "../app" }
|
|
models = { path = "../models" }
|
|
|
|
[dev-dependencies]
|