Go to file
dependabot[bot] 584b8a0aab Bump json5 and react-scripts in /client
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependency [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts). These dependencies need to be updated together.


Updates `json5` from 1.0.1 to 2.2.3
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v2.2.3)

Updates `react-scripts` from 4.0.3 to 5.0.1
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG-4.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@5.0.1/packages/react-scripts)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
- dependency-name: react-scripts
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 04:08:24 +00:00
2021-03-14 06:39:22 +00:00
2018-10-07 16:13:53 +03:00
2021-11-20 11:15:45 +00:00
2018-07-07 18:26:59 +03:00
2020-08-14 14:44:44 +03:00
2021-03-13 19:58:06 +03:00
2018-07-28 01:22:03 +03:00
2021-11-20 11:15:45 +00:00
2022-07-31 15:03:19 +02: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 use it as a reference.

Getting started

Install dependencies npm i && cd client && npm i 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.

In production mode, 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%