clonegur/README.md
2023-07-01 00:08:56 +03:00

50 lines
732 B
Markdown

# 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).
Currently, the server is hosted at [clonegur.topcheto.eu]
## Running the code
### Development
Start the backend with:
```sh
# Executed in the backend folder
$ deno run -A src/index.ts
```
And the frontend with:
```sh
# Executed in the frontend folder
$ ng serve
```
### Production
First, build the frontend:
```sh
# Executed in the frontend folder
$ ng build
```
Then, copy the contents of backend/static. Finally start the backend:
```sh
# Executed in the backend folder
$ deno run --allow-read --allow-write --allow-net main.ts
```