Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lucasdota/todo_app_frontend

A modern, full-featured Todo application built with Next.js, React, TypeScript, and Tailwind CSS. This app provides a seamless user experience with email/password registration and authentication, allowing users to efficiently manage their tasks.
https://github.com/lucasdota/todo_app_frontend

front-end javascript nextjs reactjs tailwindcss typescript

Last synced: 2 days ago
JSON representation

A modern, full-featured Todo application built with Next.js, React, TypeScript, and Tailwind CSS. This app provides a seamless user experience with email/password registration and authentication, allowing users to efficiently manage their tasks.

Awesome Lists containing this project

README

        

# Todo App
[![NPM](https://img.shields.io/npm/l/react)](https://github.com/Lucasdota/todo_app_frontend2/blob/master/LICENSE)

A simple Todo application built with Next.js, React, TypeScript, and Tailwind CSS. This app allows users to register, log in with their email and password, and manage their todo items.

## Features

- User registration and authentication
- Create, read, update, and delete todo items
- Responsive design using Tailwind CSS
- TypeScript for type safety

## Technologies Used

- [Next.js](https://nextjs.org/) - React framework for server-side rendering
- [React](https://reactjs.org/) - JavaScript library for building user interfaces
- [TypeScript](https://www.typescriptlang.org/) - Typed superset of JavaScript
- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework

## Getting Started

### Prerequisites

Make sure you have the following installed:

- [Node.js](https://nodejs.org/) (v14 or later)
- [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/)

### Installation

1. **Clone the repository:**

```bash
git clone https://github.com/Lucasdota/todo-app-frontend.git
cd todo-app-frontend
```

2. **Install the dependencies:**

```bash
npm install
# or
yarn install
```

3. **Set up environment variables:**

```bash
BACKEND_URL=your_backend_url
```

4. **Run the development server:**

```bash
npm run dev
# or
yarn dev
```

Open your browser and navigate to http://localhost:3000.

Don't forget to create a database postgreSQL,run your database and your backend on port 8080.

### Usage

- **Registration**: Users can create an account by providing their email and password.
- **Login**: Users can log in with their registered email and password.
- **Todo Management**: Once logged in, users can create, view, update, and delete their todo items.

### Folder Structure

```bash
/todo-app-frontend
├── /public # Static assets
├── /src
├── /components # Reusable components
├── /app # Next.js pages and main component
├── middleware.js # Middleware to protect paths
├── .env # Environment variables
├── package.json # Project metadata and dependencies
├── tailwind.config.ts # Tailwind configuration
└── tsconfig.json # TypeScript configuration
```

### Acknowledgments

- [Next.js Documentation](https://nextjs.org/docs)
- [React Documentation](https://react.dev/)
- [TypeScript Documentation](https://www.typescriptlang.org/docs/)
- [Tailwind CSS Documentation](https://tailwindcss.com/docs/installation)