Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swlkr/majestic-web
The best way to get started with clojure web apps
https://github.com/swlkr/majestic-web
clojure majestic-monolith monolith monolithic web-app
Last synced: 3 months ago
JSON representation
The best way to get started with clojure web apps
- Host: GitHub
- URL: https://github.com/swlkr/majestic-web
- Owner: swlkr
- License: epl-1.0
- Created: 2017-04-11T05:45:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-08T15:01:20.000Z (over 7 years ago)
- Last Synced: 2024-09-03T23:37:36.596Z (5 months ago)
- Topics: clojure, majestic-monolith, monolith, monolithic, web-app
- Language: Clojure
- Homepage:
- Size: 25.4 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# majestic web
## Usage
```bash
lein new majestic-web your-project-name
```## What Just Happened?
Files were created! Files!
```bash
your-project-name
├── Procfile
├── README.md
├── profiles.clj
├── project.clj
├── resources
│ ├── migrations
│ │ ├── 20170805214656_add_hstore_ext.edn
│ │ └── 20170805214656_create_users_table.edn
│ └── sql
│ └── users.sql
├── src
│ └── your_project_name
│ ├── core.clj
│ ├── db.clj
│ ├── home
│ │ ├── html.clj
│ │ └── http.clj
│ ├── html.clj
│ ├── http.clj
│ ├── middleware.clj
│ ├── migrations.clj
│ ├── responses.clj
│ ├── server.clj
│ ├── sessions
│ │ ├── html.clj
│ │ ├── http.clj
│ │ └── logic.clj
│ ├── users
│ │ ├── db.clj
│ │ ├── html.clj
│ │ ├── http.clj
│ │ └── logic.clj
│ └── utils.clj
└── test
└── your_project_name
├── db_test.clj
├── server_test.clj
├── sessions
│ └── logic_test.clj
└── users
└── logic_test.clj
```You can do a few different things, you can run all the tests with `lein test` or you can `lein repl` in and type `(start)` or you can deploy straight to heroku and run `heroku run lein migrate` to get the db up and running. It gives you what I think is the smallest set of working code to start a majestic monolith.