to be used with todos-express-BE https://github.com/mihaidld/todos-express-BE for back-end side
- front-end for TODO List app setup with
Create React App
and usingReact Hooks API
(useState, useEffect, useContext) - simple user registration and authentication using API Keys
- HTTP requests using Fetch API and request header
'Authorization': <API Key>
- modular components styled with Bootstrap 5
- responsive, accessible and with a dark mode preference saved in
localStorage
src
├── App.js
├── App.test.js
├── components
│ ├── AddTodoForm.js
│ ├── LoginForm.js
│ ├── ModeSwitch.js
│ ├── RegisterForm.js
│ ├── SelectTodos.js
│ ├── Todo.js
│ ├── Todos.js
│ └── TodosList.js
├── context
│ └── ModeContext.js
├── index.js
├── serviceWorker.js
└── setupTests.js
Update local IP
and PORT
of the server in ModeContext.js
.
Install dependencies and start development server via terminal command line
yarn
yarn start
Enter an API KEY
to login or register with a name