Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
317830e
Merge pull request #66 from socioy/pro
arpan404 Feb 7, 2025
86460d3
feat: Add websocket feature, binded the socket-io to joor class, but …
arpan404 Feb 8, 2025
d06f882
feat: Websocket works using app.sockets but refactoring is needed
arpan404 Feb 8, 2025
d20b599
refactor: Make server and oor class better
arpan404 Feb 9, 2025
c776419
del: Removed router methods from main Joor class, use can use it usin…
arpan404 Feb 9, 2025
9e28a5e
docs: Added jsdocs to Joor class
arpan404 Feb 9, 2025
850a307
chore: formatting
arpan404 Feb 9, 2025
2037ca9
Merge pull request #70 from arpan404/arpan404-socket-adding
arpan404 Feb 9, 2025
2187596
feat: Add setup for development setup for Joor local dev
arpan404 Feb 9, 2025
c9916e8
docs: Removed arpan404 and added socioy/joor button in docs page
arpan404 Feb 9, 2025
48488c2
Merge pull request #71 from arpan404/staging
arpan404 Feb 9, 2025
c2e08ca
Merge pull request #72 from socioy/staging
arpan404 Feb 9, 2025
4b7261a
feat: Add configuration validator: need to test
arpan404 Feb 10, 2025
365cd3d
feat: Add configuration validator: need to test before using
arpan404 Feb 10, 2025
ff05e09
fix: fixed some tests and yet to fix some
arpan404 Feb 10, 2025
b7433d1
test: add tests but few more condition to check
arpan404 Feb 10, 2025
62f2215
fix: SSL validation made more robust
arpan404 Feb 10, 2025
3ef8bf2
test: fixed configuration class tests
arpan404 Feb 11, 2025
b0204eb
chore: formatting
arpan404 Feb 11, 2025
978ca74
chore: refactor validator
arpan404 Feb 12, 2025
8f3607a
chore: Supress the warning from eslint in setup js console clear
arpan404 Feb 12, 2025
fa7e7eb
feature: Necessary env variable now loads to the process.env variable
arpan404 Feb 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

**Joor** is a modern, high-performance backend framework built on **Node.js**, designed for **efficiency, scalability, and simplicity**. With **built-in tools** and a **lightweight core**, Joor minimizes dependencies while maximizing performance.

**Note**: Joor is in early development; documentation and features may be incomplete.

## Why Choose Joor?

Joor simplifies backend development while ensuring high performance and security. Whether you’re building small projects or enterprise-level applications, Joor provides a robust foundation with minimal complexity.
Expand Down
157 changes: 156 additions & 1 deletion dev/playgrounds/ground0/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dev/playgrounds/ground0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"license": "ISC",
"description": "",
"dependencies": {
"express": "^4.21.2"
"express": "^4.21.2",
"socket.io-client": "^4.8.1"
}
}
27 changes: 27 additions & 0 deletions dev/playgrounds/ground0/socket.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
const { io } = require('socket.io-client');

// Connect to the WebSocket server
const socket = io('http://localhost:3000');

// When connected
socket.on('connect', () => {
console.log(`Connected to server with ID: ${socket.id}`);

// Send a message to the server
socket.emit('message', 'Hello from client!');

// Listen for responses
socket.on('response', (data) => {
console.log('Server says:', data);
});

// Send a new message every 3 seconds
setInterval(() => {
socket.emit('message', 'Ping from client!');
}, 1000);
});
socket.emit('message', 'Hello from client!');
// Handle disconnection
socket.on('disconnect', () => {
console.log('Disconnected from server.');
});
Loading