Skip to content

Commit 53f6174

Browse files
committed
renaming repo
1 parent addce7e commit 53f6174

File tree

3 files changed

+349
-273
lines changed

3 files changed

+349
-273
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# web-core
1+
# destam-web-core
22

33
This package abstracts the core functionality of [OpenGig.org](https://github.com/torrinworx/OpenGig.org) into a reusable client-server setup for any web project. It is built on websockets for communication between the client and server.
44

@@ -17,11 +17,11 @@ Upon page load, a websocket connection is established. The server is designed to
1717
`coreServer` allows for a custom connection function, which is loaded and mounted. Values returned from this connection are passed to authenticated jobs, enabling seamless database logic execution per job.
1818

1919
### Full stack example
20-
This is a full stack web application using web-core, it uses mongodb to store the state server-side.
20+
This is a full stack web application using destam-web-core, it uses mongodb to store the state server-side.
2121

2222
**server.js**
2323
```javascript
24-
import { coreServer } from "web-core/server";
24+
import { coreServer } from "destam-web-core/server";
2525

2626
const connection = async (ws, req) => {
2727
console.log("User connected!")
@@ -37,7 +37,7 @@ coreServer(
3737

3838
**client.jsx**
3939
```javascript
40-
import { coreClient } from 'web-core/client';
40+
import { coreClient } from 'destam-web-core/client';
4141

4242
const App = ({ state }) => {
4343
const counter = state.client.counter.def(0);
@@ -61,14 +61,14 @@ coreClient(App, NotFound);
6161
<html lang="en">
6262
<head>
6363
<meta charset="UTF-8" />
64-
<title>web-core</title>
64+
<title>destam-web-core</title>
6565
</head>
6666
<body style="margin: 0px;">
6767
<script type="module" src="./client.jsx"></script>
6868
</body>
6969
</html>
7070
```
7171

72-
That's all the code needed to create a full stack app with web-core, destam, and destam-dom.
72+
That's all the code needed to create a full stack app with destam-web-core, destam, and destam-dom.
7373

74-
With web-core, you can focus on building out features, rather than setting up boilerplate infrasturcture.
74+
With destam-web-core, you can focus on building out features, rather than setting up boilerplate infrasturcture.

0 commit comments

Comments
 (0)