Skip to content

Simple 'Todo' Single Page App using framework-less JavaScript and PHP.

Notifications You must be signed in to change notification settings

Ryan-7/PHP-Rest-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

PHP-Rest-API

A simple Single Page Application using framework-less JavaScript client and framework-less PHP API.

Browser API fetch() for requests and ES6 for rendering the view and Bootstrap CSS framework.

Setup

Currently the API will read and delete items from the client side. Create a local DB todo and add a few items for title, body and id. Make sure to set connectedToDb to true.

Or

Keep connectedToDb set to false. The client will render with mock data if no db in use.

Up next

API: Add item, error handling

Client: add item method, error handling

alt text

About

Simple 'Todo' Single Page App using framework-less JavaScript and PHP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published