๐Ÿ“ฆ MGuruNikhil / eisenhowerToDo

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/MGuruNikhil/eisenhowerToDo.git
HTTPS git clone https://github.com/MGuruNikhil/eisenhowerToDo.git
SSH git clone git@github.com:MGuruNikhil/eisenhowerToDo.git
CLI gh repo clone MGuruNikhil/eisenhowerToDo
Mangaraju Guru Nikhil Mangaraju Guru Nikhil auto 2f416f1 9 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ backend
๐Ÿ“ frontend
๐Ÿ“„ .gitignore
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Eisenhower Todo

This project is a full-stack application for managing tasks using the Eisenhower Matrix. It consists of a frontend built with React and a backend built with Node.js and Express.

Project Structure

.
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ backend
โ”‚   โ”œโ”€โ”€ .env
โ”‚   โ”œโ”€โ”€ allJsFun.js
โ”‚   โ”œโ”€โ”€ app.js
โ”‚   โ”œโ”€โ”€ config.js
โ”‚   โ”œโ”€โ”€ index.js
โ”‚   โ”œโ”€โ”€ model
โ”‚   โ”‚   โ”œโ”€โ”€ todoModel.js
โ”‚   โ”‚   โ””โ”€โ”€ userModel.js
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ”œโ”€โ”€ routes
โ”‚   โ”‚   โ”œโ”€โ”€ authRoute.js
โ”‚   โ”‚   โ””โ”€โ”€ todoRoute.js
โ”‚   โ””โ”€โ”€ vercel.json
โ”œโ”€โ”€ frontend
โ”‚   โ”œโ”€โ”€ components.json
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ”œโ”€โ”€ jsconfig.json
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ”œโ”€โ”€ postcss.config.js
โ”‚   โ”œโ”€โ”€ public
โ”‚   โ”œโ”€โ”€ src
โ”‚   โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ assets
โ”‚   โ”‚   โ”œโ”€โ”€ components
โ”‚   โ”‚   โ”œโ”€โ”€ config.js
โ”‚   โ”‚   โ”œโ”€โ”€ contexts
โ”‚   โ”‚   โ”œโ”€โ”€ index.css
โ”‚   โ”‚   โ”œโ”€โ”€ lib
โ”‚   โ”‚   โ”œโ”€โ”€ main.jsx
โ”‚   โ”‚   โ””โ”€โ”€ pages
โ”‚   โ”œโ”€โ”€ tailwind.config.js
โ”‚   โ””โ”€โ”€ vite.config.js
โ””โ”€โ”€ README.md

Getting Started

Prerequisites

  • Node.js
  • npm or yarn

Installation

  • Clone the repository:
git clone https://github.com/MGuruNikhil/eisenhowertodo.git
    cd eisenhowertodo

  • Install dependencies for both frontend and backend:
cd backend
    npm install
    cd ../frontend
    npm install

  • Create a .env file inside backend directory and add your environment variables:
MONGO_NAME=your_mongo_username
    MONGO_PASSWORD=your_mongo_password
    SECRET=your_jwt_secret

  • Change the configuration:
In frontend/src/config.js, comment out the 1st ine and uncomment the 2nd line before starting the development server

  • Change the configuration:
In backend/app.js, comment out 18-22 lines and uncomment the 25th line before starting the development server

Running the Application

  • Start the backend server:
cd backend
    npm run dev

  • Start the frontend development server:
cd frontend
    npm run dev

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

License

This project is licensed under the ISC License.