@je-es/server 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
10
|
<div align="center">
|
|
11
|
-
<img src="https://img.shields.io/badge/v-
|
|
11
|
+
<img src="https://img.shields.io/badge/v-0.1.2-black"/>
|
|
12
12
|
<a href="https://github.com/maysara-elshewehy">
|
|
13
13
|
</a>
|
|
14
14
|
<a href="https://github.com/je-es"> <img src="https://img.shields.io/badge/@-je--es-black"/> </a>
|
|
@@ -22,31 +22,41 @@
|
|
|
22
22
|
|
|
23
23
|
<!-- ╔══════════════════════════════ DOC ══════════════════════════════╗ -->
|
|
24
24
|
|
|
25
|
-
|
|
26
25
|
- ## Quick Start 🔥
|
|
27
26
|
|
|
28
27
|
> _**The simplest, fastest, most organized and stable way to build servers.**_
|
|
29
28
|
|
|
30
29
|
> _We prefer to use [`space`](https://github.com//solution-lib/space) with [`@solution-dist/server`](https://github.com/solution-dist/server) for a better experience._
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
space init <server-name> -t server
|
|
34
|
-
```
|
|
31
|
+
- #### Setup
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
cd <server-name>
|
|
38
|
-
space install
|
|
39
|
-
```
|
|
33
|
+
> install [`space`](https://github.com/solution-lib/space) first.
|
|
40
34
|
|
|
41
|
-
|
|
42
|
-
# example
|
|
43
|
-
> space start
|
|
35
|
+
- ##### Create
|
|
44
36
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
37
|
+
```bash
|
|
38
|
+
space init <name> -t server # This will clone a ready-to-use repo and make some changes to suit your server.
|
|
39
|
+
cd <name> # Go to the project directory
|
|
40
|
+
space install # Install the dependencies
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
- ##### Manage
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
space build # To build your server
|
|
47
|
+
space test # To test your server
|
|
48
|
+
space start # To start your server
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
# example
|
|
53
|
+
> space start
|
|
54
|
+
|
|
55
|
+
# output
|
|
56
|
+
16:16:31 ✓ Server started at http://localhost:3000
|
|
57
|
+
16:17:25 GET / 200 4ms
|
|
58
|
+
...
|
|
59
|
+
```
|
|
50
60
|
|
|
51
61
|
<br>
|
|
52
62
|
|