A full-stack real-time web platform for the Achiever's Cloud developer group.
- Backend: Node.js, Express, Socket.io, Mongoose
- Database: MongoDB Atlas
- Auth: JWT (HTTP + WebSocket)
- Frontend: Vanilla JS + Socket.io client
- Clone the repo
- Copy
.env.exampleto.envand fill in your values:cp .env.example .env - Install dependencies:
npm install - Start the server:
npm run dev # development (nodemon) npm start # production
All default member passwords follow the pattern: MemberId@2024!
For example, member kcharles uses password Kcharles@2024!
Change all passwords after first login.
.envis gitignored — never commit it- WebSocket connections are JWT-authenticated
- Chat messages are sanitized against XSS
- Rate limiting is applied to both HTTP and WebSocket message events
achievers-cloud/
├── server.js # Main server + Socket.io
├── package.json
├── .env.example # Copy to .env with real values
├── .gitignore
├── models/
│ ├── Member.js
│ └── Message.js
├── routes/
│ ├── auth.js
│ ├── members.js
│ └── chat.js
├── middleware/
│ └── auth.js
├── uploads/ # Auto-created, gitignored
└── public/
└── index.html # Frontend SPA