From 985b228d29248a80135ec49bc52f4f4f1855b568 Mon Sep 17 00:00:00 2001
From: Dobberman <pangestubima89@gmail.com>
Date: Wed, 17 Jan 2024 00:08:58 +0700
Subject: [PATCH] readme

---
 README.md | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 README.md

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..420c036
--- /dev/null
+++ b/README.md
@@ -0,0 +1,41 @@
+# Express Boilerplate
+Create express project in no time
+
+## Development
+Do nothing and call 
+```
+npm run dev
+```
+## Production
+Build with ```npm run build```
+and then run with
+```
+npm run start
+```
+
+## Structure
+```
+src
+├── apps
+│   └── [any app]
+│       ├── controller.ts
+│       ├── repo.ts
+│       ├── route.ts
+│       └── model.ts
+├── bin
+├── public
+├── routes
+│   ├── api
+│   │   ├── v1.ts
+│   │   └── .etc
+│   ├── static.ts
+│   └── web.ts
+├── views
+└── index.ts
+```
+Explanation:
+- ***apps***: will contain all apps folder that will have controller, repo, model and route.
+- ***bin***: will contain main express instance.
+- ***public***: will contain public file such as css, image, .etc.
+- ***routes***: will contain all top level routes and devided into 3 segment: web(for website), api(for api provider), and static(for static file).
+- ***views***: will contain all views, layout, and partials.
\ No newline at end of file