docs.md 1.4 KB

### Database Configuration is Required If you haven't already, then please follow the steps below to configure your database connection and run the necessary migrations. * Create the database for your application. * Update the connection URL in the `profiles.clj` file with your database name and login. * Run `lein run migrate` in the root of the project to create the tables. * Restart the application.

Managing Your Middleware

Request middleware functions are located under the hello.middleware namespace.

This namespace is reserved for any custom middleware for the application. Some default middleware is already defined here. The middleware is assembled in the wrap-base function.

Middleware used for development is placed in the hello.dev-middleware namespace found in the env/dev/clj/ source path.

Here are some links to get started

  1. HTML templating
  2. Accessing the database
  3. Setting response types
  4. Defining routes
  5. Adding middleware
  6. Sessions and cookies
  7. Security
  8. Deploying the application