ToggleNest is a powerful task management platform developed mainly in JavaScript. It enables teams to dynamically update task in collaborative way also implemented active log updates of all members. Used kanban board with drag and drop feature.
frontend: https://nesttoggle.netlify.app/
backend: https://togglenest-6k9t.onrender.com
credientials
- user1@gmail.com pass: user1
- user2@gmail.com pass: user2
- user3@gmail.com pass: user3
- Real-time toggling & updates
- Scheduling feature rollouts
- Audit logs and change tracking
- API-first architecture
- React js
- HTML, CSS
- Node.js (Express.js) or similar
- MongoDB / PostgreSQL / JSON
- dotenv
- Axios/Fetch
- JWT (authentication)
- socket.io
- Clone the repository
git clone https://github.com/ValayaDase/ToggleNest.git cd ToggleNest - Install dependencies
npm install
- Configure environment variables
(see.envsection below) - Run the project
npm start
# Backend
PORT=4000
MONGO_URI=mongodb://localhost:27017/togglenest
JWT_SECRET=your_toggle_secretToggleNest/
│
├── public/ # Static assets
│ └── index.html
│
├── src/
│ ├── api/ # Axios/Fetch API methods
│ ├── assets/
│ ├── components/ # FlagList, FlagEdit, etc.
│ ├── config/ # App-wide configs
│ ├── context/ # Auth, FeatureFlag context
│ ├── hooks/ # Custom hooks
│ ├── layouts/ # Layout wrappers
│ ├── pages/ # Dashboard, Login, etc.
│ ├── routes/ # Route definitions
│ ├── store/ # Redux or global state
│ ├── styles/
│ ├── utils/
│ ├── App.js
│ └── index.js
│
├── backend/ (if monorepo)
│ ├── controllers/
│ ├── middlewares/
│ ├── models/
│ ├── routes/
│ └── server.js
│
├── .env
├── package.json
├── README.md
└── ...
These are typical endpoints, update to your backend
POST /api/auth/login # User login
GET /api/flags # Get all flags
POST /api/flags # Create a new flag
PUT /api/flags/:id # Update a flag
DELETE /api/flags/:id # Delete flag
POST /api/flags/:id/toggle # Toggle flag state
GET /api/audit # Fetch audit logs
- Component and integration tests
npm test - End-to-end tests
npm run cypress
- API endpoint testing
- Use Postman/Insomnia or run automated tests in
/backend/tests.
- Use Postman/Insomnia or run automated tests in
-
Frontend
- Build:
npm run build - Deploy files (Netlify, Vercel, etc.)
- Build:
-
Backend
- Deploy using Heroku, Railway, or your server
- Set environment variables on your cloud platform
-
DNS
- Map custom domains as needed
- Responsive grid layout
- Breakpoints for mobile/tablet/desktop views
- Material UI/Bootstrap/Custom media queries for responsiveness
- Bundle splitting and code minification
- Memoization and virtualization for large flag lists
- HTTP caching for GET requests
- Debounced input handlers in dashboard
- Managing toggle propagation in real time
- Securing feature flag endpoints