A full-stack TODO list application built with React.js (frontend), Node.js/Express (backend), and MongoDB (database).
- Create new TODO items
- List all TODO items
- Update existing TODO items
- Delete TODO items
- Frontend: React.js
- Backend: Node.js with Express
- Database: MongoDB
- Version Control: Git
Before you begin, ensure you have met the following requirements:
- Node.js: You need Node.js and npm installed on your machine. Download Node.js
- MongoDB: A MongoDB instance is required either locally or via MongoDB Atlas. Install MongoDB
-
Navigate into the backend folder: cd backend
-
Install the server dependencies: npm install
-
Create a .env file for environment variables: touch .env
-
Inside the .env file, add the following: MONGODB_URI=mongodb:https://localhost:27017/app_crud_db PORT=5000
-
Start the backend server: npm start The server will be available at
https://localhost:5000
-
Navigate into the frontend folder: cd frontend
-
Install the server dependencies: npm install
-
Start the frontend server: npm start The server will be available at
https://localhost:3000
git init
git add .
git commit -m "message"
git push