Skip to content

k-saparia/crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD Todo App

This is a simple CRUD (Create, Read, Update, Delete) todo application built with React, Express.js, MySQL, and Redis. The application allows to add todo items by performing basic CRUD operations.

Technologies Used

  • React: A JavaScript library for building user interfaces.
  • Express.js: A web application framework for Node.js.
  • MySQL: A popular relational database management system.
  • Redis: An in-memory data store used for caching.
  • Docker: A containerization platform for easy deployment and scalability.

Features

  • Create a new todo item.
  • Read and display a list of todo items.
  • Update an existing todo item.
  • Delete a todo item.
  • Caching with Redis for improved performance.

Getting Started

Prerequisites

Installation

  1. Clone the repository: git clone (https://github.com/k-saparia/crud-app.git)

  2. Navigate to the project directory:

  3. Build and run the Docker containers: docker-compose up --build

  4. Access the endpoints from. Here are the lists of endpoints

    • GET - http://localhost:5001/test/api/v2/todos (get all todos)
    • POST - http://localhost:5001/test/api/v2/todo (create new item) (url encoded)
    • DELETE - http://localhost:5001/test/api/v2/todo/:id (delete item)
    • PUT - http://localhost:5001/test/api/v2/todo/:id (update item) (url encoded)
    • GET - http://localhost:5001/test/api/v2/todo/:id (get single todo item)
  • Frontend application will be accessible by http://localhost:3000

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published