Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sveri/closp
Clojure template for web development (with SPA support)
https://github.com/sveri/closp
clj clojure clojurescript webframework
Last synced: 3 days ago
JSON representation
Clojure template for web development (with SPA support)
- Host: GitHub
- URL: https://github.com/sveri/closp
- Owner: sveri
- License: epl-1.0
- Created: 2015-01-19T16:00:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-12-31T20:36:15.000Z (about 4 years ago)
- Last Synced: 2024-12-23T17:09:56.652Z (10 days ago)
- Topics: clj, clojure, clojurescript, webframework
- Language: Clojure
- Homepage:
- Size: 1.93 MB
- Stars: 173
- Watchers: 9
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.MD
- License: LICENSE
Awesome Lists containing this project
- awesome-clojurescript - Clops
README
# closp
## Usage
### Backend
1. Run `clj -A:new -M:new https://github.com/sveri/closp@d0aca65b2263cd6b2107d4b3c4dae2f12f7fb565 de/sveritest/closptest` in a console.
2. Open your postgresql instance and add a new user: _{{name}}_ with password: _{{name}}_ and create a database _{{name}}_.
3. Add a users table to the new database. The script can be found in _migrators/postgres/1-user.up.sql'_.
4. CD to the newly generated folder _{{name}}_.
5. Run `clj` and from the repl `(start)` to start the development server.### Frontend
1. Run `npm install` in a separate console to install the dependencies.
2. Run `shadow-cljs watch main` to start the cljs compiler.
3. Navigate to http://localhost:3000/reagent-example.### Preview
![Intro](intro.gif)
## Supported by
The development of closp is supported by Jetbrains and their awesome IDE
[![Jetbrains Logo](jetbrains.svg)](https://www.jetbrains.com/)
## License
Copyright © 2020 Sven Richter
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.