Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avidrucker/todos-pwa-mvp-cljs

a to-do list PWA & SPA written in ClojureScript
https://github.com/avidrucker/todos-pwa-mvp-cljs

clojurescript pwa spa todo-app

Last synced: about 1 month ago
JSON representation

a to-do list PWA & SPA written in ClojureScript

Awesome Lists containing this project

README

        

# Todos-PWA-MVP-cljs

## How to Run This App

1. Clone this repo: `git clone [email protected]:avidrucker/todos-pwa-mvp-cljs.git`
2. Build the project: `npm install`
3. Run the app: `npx shadow-cljs watch app`
4. Navigate in your browser to http://localhost:8080/

## How This App Was Built

This app was bootstrapped by running `npx create-cljs-project my-todo-app`, then `npm install react react-dom`, by adding `reagent` to the `shadow-cljs.edn` dependencies, by configuring the build configuration (also in `shadow-cljs.edn`), and by requiring `reagent.core`, `reagent.dom`, and the `clojure.string` libraries in `core.cljs`.

This app was "transformed" into a PWA by adding `service-worker.js`, by adding a service worker install script into `index.html`, by adding a `manifest.json`, by referencing the `manifest.json` file in the head of `index.html`, and by adding some PNG icons.