Calendra is a Next.js project with authentication, custom middleware, modular folder structure, and a PostgreSQL database using Drizzle ORM. The project includes login and registration pages, global styles, asset management, and event management features.
- Next.js app structure with TypeScript
- Authentication pages:
- Login (
/app/(auth)/login
) - Register (
/app/(auth)/register
)
- Login (
- Global CSS styling
- Custom middleware (
Middleware.ts
) - Asset management (e.g., logo in
assets/
) - Project configuration files:
next.config.ts
,tsconfig.json
,postcss.config.mjs
,eslint.config.mjs
- Event management with Drizzle ORM and PostgreSQL
- Modular database schema in
drizzle/schema.ts
app/
- Main application codeglobals.css
- Global styleslayout.tsx
- Root layoutpage.tsx
- Main page(auth)/login/[[...login]]/page.tsx
- Login page(auth)/register/[[...register]]/page.tsx
- Register page
assets/
- Static assets (e.g., logo)Middleware.ts
- Custom middleware logicdrizzle/
- Database configuration and schemadb.ts
- Drizzle ORM database configschema.ts
- Database schema (e.g., EventTable)
- Install dependencies:
npm install
- Run the development server:
npm run dev
This README summarizes the current state of the Calendra project as of July 8, 2025.