2018-12-28 15:42:59 +03:00
2018-05-30 21:42:30 +03:00
2018-12-28 15:42:59 +03:00
2018-09-29 00:01:13 +03:00
2018-10-07 16:13:53 +03:00
2018-08-25 13:14:02 +03:00
2018-07-07 18:26:59 +03:00
2018-10-07 13:35:30 +03:00
2018-09-22 20:45:39 +03:00
2018-07-07 18:26:59 +03:00
2018-09-22 20:45:39 +03:00
2018-09-22 20:45:39 +03:00
2018-05-16 18:25:55 +03:00
2018-12-28 15:42:59 +03:00
2018-09-22 18:12:59 +03:00
2018-07-13 03:33:16 +03:00
2018-07-28 01:22:03 +03:00
2018-12-28 15:23:40 +03:00
2018-12-28 15:23:40 +03:00
2018-10-28 16:11:33 +03:00

Simple Todo list

screenshot

This is a simple todo list written in javascript using express for the backend and react+redux for the frontend. It also can work offline, thanks to redux-offline (without any conflict resolving, though). The code is of somewhat questionable quality, so you probably don't want to look at it.

Check it out at https://ustk-todolist.herokuapp.com/

Getting started

Start with npm run dev

create-react-app server will be listening at http://localhost:3000, with proxy to the backend at localhost:4000

Configuration

By default development server uses mongodb todolist database at localhost, you can change it with environment variable DB_URI

If you are running it in production environment, you should set these environment variables:

HSTS = true/false
DB_URI (or MONGODB_URI)
PORT
SECRET
HOST

There is google OAuth support, which can be enabled by setting GOOGLE_ENABLED variable to true, however for it to actually work you must also set GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET

Offline

The create-react-app's service worker works only in production environment. You can build the frontend with cd react && npm run build.

Express is listening at http://localhost:4000 and serving the built frontend.

Description
A simple todo list
Readme MIT 6.4 MiB
Languages
JavaScript 92.2%
CSS 5.5%
HTML 1.3%
Dockerfile 1%