This is a Todo application built using the PERN stack: PostgreSQL, Express.js, React, and Node.js. The frontend is developed with React and Bootstrap, while the backend uses Node.js and Express.js. PostgreSQL is used for data storage.
- Add, edit, and delete tasks
- Mark tasks as complete or incomplete
- Responsive design with React and Bootstrap
Follow these steps to set up the project on your local machine.
Make sure you have the following installed:
- Reactjs
- Node.js
- npm (Node Package Manager)
- PostgreSQL
git clone https://github.com/your-username/pern-todo-app.git
cd pern-todo-app
- Navigate to the backend directory:
cd backend
- Install the required dependencies:
npm install
- Add your PostgreSQL database configuration:
user: "postgres",
host: "localhost",
database: "perntodo",
password: "your_pgAdmin_password",
port: 5432,
- Run the backend server:
node index.js
- Navigate to the client directory:
cd client
- Install the required dependencies:
npm install
- Start the React development server:
npm start
With both the backend and frontend servers running, open your browser and navigate to http://localhost:3000 to see the app in action.