- Cloned from: https://github.com/Jasonwill2004/fullstack-webApp-For-TestAndSecurity.git
- All dependencies installed at root level (unified structure)
- Launched using
npm run start-devwhich runs:- Frontend (webpack-dev-server)
- Backend (nodemon with babel-node)
- Built using React.js + Redux
- Key Components:
Dashboard.jsx: Main application viewLogin.jsx&Signup.jsx: Authentication flowsTaskDetail.jsx&TaskList.jsx: Task managementNavigation.jsx: App navigation
- Uses Redux store (
/src/app/store)sagas.js: Handles async operationsmutations.js: State updatesreducer.js: State management
- Built using Express.js
- MongoDB for database
- Key Files:
server.js: Main Express applicationauthenticate.js: Authentication logiccommunicate-db.js: Database operationsconnect-db.js: MongoDB connectioninitialize-db.js: Database setup
- MongoDB URI:
mongodb://localhost:27017/organizer - Frontend Port: 8080
- Backend Port: 7777
| Method | Endpoint | Description |
|---|---|---|
| POST | /authenticate |
User login |
| POST | /user/create |
Create new user account |
| GET | /tasks |
Retrieve all tasks |
| POST | /task/new |
Create a new task |
| POST | /task/update |
Update existing task |
-
Authentication Flow
- User starts at login page
- Can switch to signup for new account
- Redirects to dashboard after authentication
-
Task Management Flow
- Dashboard displays task list
- Can create new tasks
- Can view task details
- Can update task status
- Can navigate between different views
Task {
id: string,
name: string,
isComplete: boolean
}
User {
id: string,
username: string,
passwordHash: string
}- Frontend: React, Redux, Redux-Saga
- Backend: Express, MongoDB
- Build Tools: Webpack, Babel
- Development: Nodemon, Concurrently