Skip to content

erikacarvalho/webdev.todolist-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todolist

about

intro

hello! this project was developed as an assignment for the "intro to modern frameworks" course, as part of the web development specialization from UTFPR. the goal was to develop an MVP to-do list app using react.

I have deployed it using netlify, so you can run it locally or access it here: minimalisttodolist.netlify.app. either way you should find something like this:

todolist thumbail

development process and decisions

after running npx create-react-app todolist and setting some config files, I focused on creating the components I would like to use from the start:

  • Header
  • Home
  • Footer
  • AddTodo

once I had the first components, I introduced routes to App.js so the app would behave as a single page application. for this, I used react-router-dom which I installed using npm install react-router-dom.

after this, I focused on the logics of listing, creating and removing to-dos.

my first goal was to make it work and only after that I would add style. so, at this point, the application looked like this:

application thumbnail without style

once I had everything working, I channeled my focus onto style. I got my inspiration from glassmorphism, which is trending right now in UI design - for instance, macOS Big Sur has a lot of glassmorphism in it.

this is how minimalist todolist looks in its most recent version:

application thumbnail with style

initial data

I decided to leave some to-dos already created but they can be easily removed following this steps:

  1. mark all to-dos as done
  2. remove all to-dos

after doing this, you should be able to read: there are no to-dos yet. go ahead and add one!.

project overview

this project was bootstrapped using Create React App.

run & build

download it using git clone [email protected]:erikacarvalho/webdev.todolist.git, then run cd webdev.todolist

run in development mode

in the project root directory, run npm start and then open localhost:3000 to view it in your browser.

build for production

in the project root directory, run npm run build. this will build the app for production to the build folder.


📚 you can read react documentation if you'd like to learn more: create-react-app