Category Manager is a web application that allows users to manage categories. Users can view, add, delete, and search for categories with a user-friendly interface. ๐๐
- View a list of categories ๐
- Add new categories โ
- Delete categories โ
- Search for categories by name ๐
- Reorder categories through drag-and-drop ๐
-
Clone the repository:
git clone https://github.com/sergio-nezhigay/category-manager
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Access the application at https://category-manager.vercel.app/ ๐
Certainly! Here's a unified style for the technologies used, along with emojis for added visual appeal:
- Next.js: ๐ Next.js is a popular framework for building fast and efficient web applications.
- React: โ๏ธ React is a JavaScript library for building user interfaces.
- formik: ๐ Formik is a library for building forms in React with ease.
- react-spinners: ๐ React Spinners provides loading spinners and animations for your web applications.
- react-confirm-alert: ๐ฆ React Confirm Alert is a customizable confirmation dialog library.
- @hello-pangea/dnd: ๐ช @hello-pangea/dnd is a drag-and-drop library for creating interactive interfaces.
- Tailwind CSS: ๐จ Tailwind CSS is a utility-first CSS framework for building modern designs with ease.
- Create, edit, and delete categories ๐๐๏ธ
- Reorder categories using drag-and-drop
โ๏ธ - Save changes or cancel modifications ๐พโ
- Basic validation ensures that a category cannot be saved with an empty name
โ ๏ธ
The application stores data locally in a file, and it's also possible to use runtime storage for faster development. ๐
The project includes CRUD (Create, Read, Update, Delete) endpoints for managing categories. You can customize these endpoints as needed. ๐ ๏ธ
- GET
/api/categories
: Retrieve categories ๐ - POST
/api/categories
: Create a new category โ - DELETE
/api/categories?id={categoryId}
: Delete a category โ - PUT
/api/categories/reorder
: Drag and drop for reordering categoriesโ๏ธ - PATCH
/api/categories?id={categoryId}
: Toggle visibility of a category ๐
You can use these endpoints to interact with and manage categories in the application. ๐
Your feedback and contributions are welcome! Feel free to open issues and pull requests to improve this project. ๐
This project is licensed under the MIT License - see the LICENSE file for details. ๐
- Thanks to the creators of the libraries and tools used in this project. ๐
- Author: Serhii Nezhyhai
- Email: [email protected]
- Portfolio: https://serhii.vercel.app/