This project implements a simple ToDo application using the PERN stack: PostgreSQL, Express.js, React, and Node.js. This app allows you to manage your tasks, mark them as complete, and remove them from your list.
- Create new tasks with descriptions.
- Edit tasks as per need.
- Delete tasks from the list.
- View all tasks and their statuses.
- Front-End: React.js
- Back-End: Express.js, Node.js
- Database: PostgreSQL
-
Clone the repository:
git clone https://github.com/vickytilotia/PERN-ToDo-App.git
-
Navigate to the project directory:
cd PERN-ToDo-App
-
Install dependencies for both the server and client:
cd client npm install cd ../server npm install
-
Set up your PostgreSQL database and update the database connection details in
server/db.js
. -
Run the server and client concurrently:
npm run dev
-
The app will be accessible at
http://localhost:3000
.
- Create tasks/ todos.
- Get all details of todos
- Delete and Update todos.
Contributions are welcome! If you find any issues or want to enhance the project, feel free to create a pull request.
- Fork the repository.
- Create a new branch for your feature:
git checkout -b feature-name
. - Commit your changes:
git commit -am 'Add feature'
. - Push to the branch:
git push origin feature-name
. - Submit a pull request.