aboutsummaryrefslogtreecommitdiffstats
path: root/start/routes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'start/routes.ts')
-rw-r--r--start/routes.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/start/routes.ts b/start/routes.ts
new file mode 100644
index 0000000..75cef72
--- /dev/null
+++ b/start/routes.ts
@@ -0,0 +1,22 @@
1/*
2|--------------------------------------------------------------------------
3| Routes
4|--------------------------------------------------------------------------
5|
6| This file is dedicated for defining HTTP routes. A single file is enough
7| for majority of projects, however you can define routes in different
8| files and just make sure to import them inside this file. For example
9|
10| Define routes in following two files
11| ├── start/routes/cart.ts
12| ├── start/routes/customer.ts
13|
14| and then import them inside `start/routes.ts` as follows
15|
16| import './routes/cart'
17| import './routes/customer'
18|
19*/
20
21import './routes/api';
22import './routes/web';