A clone of imgur
.vscode | ||
backend | ||
frontend | ||
.gitignore | ||
README.md |
Clonegur
Created by TopchetoEU
Technologies:
- Deno
- Angular
- My brainz
What is this?
This is exactly what the title sells it for - it's an imgur clone (but kinda worse).
Running the code
Development
Start the backend with:
# Executed in the backend folder
$ deno run -A src/index.ts
And the frontend with:
# Executed in the frontend folder
$ ng serve
Production
First, build the frontend:
# Executed in the frontend folder
$ ng build
Then, copy the contents of backend/static. Finally start the backend:
# Executed in the backend folder
$ deno run --allow-read --allow-write --allow-net main.ts