Skip to content

jaredhanson/todos-express-sqlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express • TodoMVC

Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.

Express

Resources

Support

Let us know if you discover anything worth sharing.

Implementation

In contrast to a typical TodoMVC app, this app does not utilize a frontend JavaScript framework or make use of client-side capabilities such as localStorage. Instead, it illustrates how to build a todo app using a backend for application logic and persistence, along with HTML forms for interaction.

This app is built using Node.js along with the Express web framework. Data is persisted to a SQLite database. HTML pages are rendered using EJS templates, and are styled using vanilla CSS. HTML forms are used to modify data, rather than a RESTful API. That being said, the forms serialize data in a format inspired by Todo-Backend.

To run this app, clone the repository and install dependencies:

$ git clone https://github.com/jaredhanson/todos-express-sqlite.git
$ cd todos-express-sqlite
$ npm install

Then start the server:

$ npm start

Navigate to http://localhost:3000.

The scaffolding for this app was generated using Express application generator:

$ express -v ejs todos-express-sqlite

Credit

Created by Jared Hanson

About

Todo app built with Node.js, Express, and SQLite.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published