Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

A Node.js app starter using Express 4 and ClojureScript. Deployable on Heroku with basic auth.

Notifications You must be signed in to change notification settings

reifyhealth/shadow-cljs-prototype-starter

 
 

Repository files navigation

Picasso Prototype Starter Project

A barebones project app using:

This application supports the Getting Started on Heroku with Node.js article - check it out.

Running Locally

Make sure you have Node.js, Clojurescript, and the Heroku CLI setup on your machine.

TL;DR In 3 terminal windows, run:

  • $ npm run start
  • $ npm run watch
  • $ npm run scss

Default credentials are: demo : demo

Running the CLJS

In another terminal window, run the ClojureScript. To compile the CLJS located in ./src/app, run:

$ npm run watch

Running the SCSS

In another terminal window, compile your SCSS. To compile the SCSS, run:

$ npm run scss

// Or run

$ node-sass scss/main.scss public/stylesheets/main.css

// To watch for changes, add `-w` or `--watch`

$ node-sass scss/main.scss public/stylesheets/main.css -w


Your app should now be running on localhost:5000.

HTTP Basic Auth

Username and Password can be set in the ./index.js file. Default credentials are: demo : demo

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

About

A Node.js app starter using Express 4 and ClojureScript. Deployable on Heroku with basic auth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Other 0.3%