A MERN application for basic tasks management.
- Signup
- Login
- Logout
- Add tasks
- View tasks
- Update tasks
- Delete tasks
- Search tasks
- HTML
- CSS
- Javascript
- Tailwind CSS
- Node.js
- Express.js
- React
- Redux
- Mongodb
Following are the major dependencies of the project:
- axios
- react
- react-dom
- react-redux
- react-router-dom
- react-toastify
- redux
- redux-thunk
- bcrypt
- cors
- dotenv
- express
- jsonwebtoken
- mongoose
Following are the major dev-dependencies of the project:
- nodemon
- concurrently
- Node.js must be installed on the system.
- You should have a MongoDB database.
- You should have a code editor (preferred: VS Code)
-
Install all the dependencies
npm run install-all
-
Create a file named ".env" inside the backend folder. Add data from .env.example file and substitute your credentials there.
-
Start the application
npm run dev
-
Go to http://localhost:3000
- POST /api/auth/signup - POST /api/auth/login - GET /api/tasks - GET /api/tasks/:taskId - POST /api/tasks - PUT /api/tasks/:taskId - DELETE /api/tasks/:taskId - GET /api/profile
- / Home Screen (Public home page for guests and private dashboard (tasks) for logged-in users) - /signup Signup page - /login Login page - /tasks/add Add new task - /tasks/:taskId Edit a task
At root:
npm run dev
: Starts both backend and frontendnpm run dev-server
: Starts only backendnpm run dev-client
: Starts only frontendnpm run install-all
: Installs all dependencies and dev-dependencies required at root, at frontend and at backend.