├── .gitignore ├── Procfile ├── README.md ├── project.clj ├── resources ├── public │ ├── css │ │ └── screen.css │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ └── md │ │ └── docs.md └── templates │ ├── about.html │ ├── albums │ ├── add-album.html │ ├── artist-albums.html │ └── recently-added.html │ ├── base.html │ ├── home.html │ ├── login.html │ └── signup.html ├── src ├── hipstr │ ├── cookies.clj │ ├── handler.clj │ ├── layout.clj │ ├── middleware.clj │ ├── models │ │ ├── album_model.clj │ │ ├── albums.sql │ │ ├── artists.sql │ │ ├── connection.clj │ │ ├── user_model.clj │ │ └── users.sql │ ├── repl.clj │ ├── routes │ │ ├── access.clj │ │ ├── albums.clj │ │ ├── home.clj │ │ └── test_routes.clj │ ├── session_manager.clj │ ├── util.clj │ └── validators │ │ ├── album_validator.clj │ │ └── user_validator.clj └── migrations │ ├── 00000000000100-users.down.sql │ ├── 00000000000100-users.up.sql │ ├── 00000000000200-artists.down.sql │ ├── 00000000000200-artists.up.sql │ ├── 00000000000210-albums.down.sql │ └── 00000000000210-albums.up.sql └── test └── hipstr └── test ├── handler_test.clj └── validators └── user_validator_test.clj /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/.gitignore -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: lein with-profile production trampoline ring server 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/README.md -------------------------------------------------------------------------------- /project.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/project.clj -------------------------------------------------------------------------------- /resources/public/css/screen.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/public/css/screen.css -------------------------------------------------------------------------------- /resources/public/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/public/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /resources/public/fonts/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/public/fonts/glyphicons-halflings-regular.svg -------------------------------------------------------------------------------- /resources/public/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/public/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /resources/public/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/public/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /resources/public/md/docs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/public/md/docs.md -------------------------------------------------------------------------------- /resources/templates/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/templates/about.html -------------------------------------------------------------------------------- /resources/templates/albums/add-album.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/templates/albums/add-album.html -------------------------------------------------------------------------------- /resources/templates/albums/artist-albums.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/templates/albums/artist-albums.html -------------------------------------------------------------------------------- /resources/templates/albums/recently-added.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/templates/albums/recently-added.html -------------------------------------------------------------------------------- /resources/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/templates/base.html -------------------------------------------------------------------------------- /resources/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/templates/home.html -------------------------------------------------------------------------------- /resources/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/templates/login.html -------------------------------------------------------------------------------- /resources/templates/signup.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/resources/templates/signup.html -------------------------------------------------------------------------------- /src/hipstr/cookies.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/cookies.clj -------------------------------------------------------------------------------- /src/hipstr/handler.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/handler.clj -------------------------------------------------------------------------------- /src/hipstr/layout.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/layout.clj -------------------------------------------------------------------------------- /src/hipstr/middleware.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/middleware.clj -------------------------------------------------------------------------------- /src/hipstr/models/album_model.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/models/album_model.clj -------------------------------------------------------------------------------- /src/hipstr/models/albums.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/models/albums.sql -------------------------------------------------------------------------------- /src/hipstr/models/artists.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/models/artists.sql -------------------------------------------------------------------------------- /src/hipstr/models/connection.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/models/connection.clj -------------------------------------------------------------------------------- /src/hipstr/models/user_model.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/models/user_model.clj -------------------------------------------------------------------------------- /src/hipstr/models/users.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/models/users.sql -------------------------------------------------------------------------------- /src/hipstr/repl.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/repl.clj -------------------------------------------------------------------------------- /src/hipstr/routes/access.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/routes/access.clj -------------------------------------------------------------------------------- /src/hipstr/routes/albums.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/routes/albums.clj -------------------------------------------------------------------------------- /src/hipstr/routes/home.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/routes/home.clj -------------------------------------------------------------------------------- /src/hipstr/routes/test_routes.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/routes/test_routes.clj -------------------------------------------------------------------------------- /src/hipstr/session_manager.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/session_manager.clj -------------------------------------------------------------------------------- /src/hipstr/util.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/util.clj -------------------------------------------------------------------------------- /src/hipstr/validators/album_validator.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/validators/album_validator.clj -------------------------------------------------------------------------------- /src/hipstr/validators/user_validator.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/hipstr/validators/user_validator.clj -------------------------------------------------------------------------------- /src/migrations/00000000000100-users.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/migrations/00000000000100-users.down.sql -------------------------------------------------------------------------------- /src/migrations/00000000000100-users.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/migrations/00000000000100-users.up.sql -------------------------------------------------------------------------------- /src/migrations/00000000000200-artists.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE artists; 2 | -------------------------------------------------------------------------------- /src/migrations/00000000000200-artists.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/migrations/00000000000200-artists.up.sql -------------------------------------------------------------------------------- /src/migrations/00000000000210-albums.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE albums; 2 | -------------------------------------------------------------------------------- /src/migrations/00000000000210-albums.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/src/migrations/00000000000210-albums.up.sql -------------------------------------------------------------------------------- /test/hipstr/test/handler_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/test/hipstr/test/handler_test.clj -------------------------------------------------------------------------------- /test/hipstr/test/validators/user_validator_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanbaldwin/clojure-web-dev-essentials/HEAD/test/hipstr/test/validators/user_validator_test.clj --------------------------------------------------------------------------------