Skip to content

lautiamkok/Framework-agnostic-Web-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spectre

Framework-agnostic web application

A minimal framework for framework-agnostic web applications. Read the ideas and motivations behind it:

An extended project: Monsoon - a PHP Content Management System (CMS).

Requirements

Server API

  1. Slim (PHP), or:

Server Client

  1. Nuxt (JavaScript), or:

Quick Setup (an example)

Nuxt Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm start

Slim (PHP) Setup

# Dependencies
$ composer update

# Production build localhost:8181
$ cd [my-app-name]
$ php -S 0.0.0.0:8181 -t public

References