diff --git a/README.md b/README.md index ef8d9cc..72dca02 100644 --- a/README.md +++ b/README.md @@ -3,20 +3,53 @@ --- ## What's this? -ESP is a simple social media platform built with Deno, Vite and Typescript. + +ESP is a simple social media platform built with [Deno](https://deno.land/), [Vite](https://vitejs.dev/) and [Typescript](https://www.typescriptlang.org/). + +## But there's lots of Social Media, why another one? + +We're building ESP to avoid the clutter of other Social Media websites. + +It's build to be simple, fast and easy to use, all while keeping a Minimal feeling to it. --- + # How do I run it? + ## Running + Dev server: -``` + +```bash $ deno task dev ``` ## Deploy + Build production assets: -``` + +```bash $ deno task build ``` ---- \ No newline at end of file +--- + +# Resources + + +## Libs/Frameworks used + + +## Tools used + + + diff --git a/deno.json b/deno.json index 19f3381..cc9aaf6 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,8 @@ { "tasks": { - "dev": "deno run -A --node-modules-dir npm:vite", + "dev": "deno task dev:api & deno task dev:vite", + "dev:api": "deno run --allow-env --allow-net api/main.ts", + "dev:vite": "deno run -A npm:vite", "build": "deno run -A --node-modules-dir npm:vite build", "preview": "deno run -A --node-modules-dir npm:vite preview", "serve": "deno run --allow-net --allow-read jsr:@std/http@1/file-server dist/"