Skip to content

ernestorbemx/TodoApp-Front

Repository files navigation

Todo App (Front)

Client implementation of a simple yet useful application for organizing incoming activities. Depending on Todo-App project. This repo includes Singe Page Application using Vite built on top of React Components and TypeScript.

TodoApp overview

Table of Contents

Structure

React components are located in src/components folder along with it corresponding tests. There's also a folder src/views for application views. Since no routing is needed for this app, is just a TodoView.tsx.

HTTP related stuff like axios instance is located in src/http.

Globally used types are defined in src/types.ts

Other locations are Vite standard locations.

Features

  • Create Todo (Text, Priority, Due Date)
  • Update Todo (Text, Priority, Due Date)
  • Update Todo Status (Done/Undone)
  • Delete Todo
  • Get Todos (Paginated, Sorted and Filtered)
  • Show real time completion stats
  • Dark Mode

Prerequisites

There's no need for an specialized IDE for this project. However, since the development was done using Visual Studio Code, using it is super recommendable.

The needed software to run this project is:

  • Node 18
  • NPM 10

Installation

Please be sure that you have the software requirements as Prerequisites says.

Instructions to set up project dependencies:

  1. Clone Repo
git clone https://github.com/ernestorbemx/TodoApp-Front.git
  1. Change directory to the cloned project folder
cd TodoApp-Front
  1. Install dependencies
npm i

Running Locally

Please be sure that you have the software requirements as Prerequisites says and follow installation instructions

Instructions to get your project up and running locally (UNIX-like systems):

  1. Run development script
npm run dev

Building for production

Please be sure that you have the software requirements as Prerequisites says and follow installation instructions

Instructions to get your project up and running locally (UNIX-like systems):

  1. Run build script
npm run buiild
  1. Run production build
npm run preview

Testing

After following this instructions, you can run the script:

npm run test

Contributing

Contributions are welcome! For requesting changes, first open an issue.

When developing changes, please:

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/FeatureName)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/FeatureName)
  5. Open a Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published