Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harzu/url-shorter-app
https://github.com/harzu/url-shorter-app
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/harzu/url-shorter-app
- Owner: Harzu
- Created: 2019-09-17T14:10:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T09:48:30.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T14:35:35.193Z (2 months ago)
- Language: TypeScript
- Size: 138 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Shorter Url
## Description
Service for shorted url.
Service use Nestjs([Nest TS Starter kit](https://github.com/nestjs/typescript-starter)) and Redis## Start app
```bash
# With docker
$ docker-compose up -d# With npm
$ npm install
$ docker-compose up -d storage
$ npm start# Before start <============================>
app | [Nest] 1 - 09/17/2019, 2:00:46 PM [NestFactory] Starting Nest application...
app | [Nest] 1 - 09/17/2019, 2:00:46 PM [InstanceLoader] AppModule dependencies initialized +54ms
app | [Nest] 1 - 09/17/2019, 2:00:46 PM [RoutesResolver] AppController {/}: +21ms
app | [Nest] 1 - 09/17/2019, 2:00:46 PM [RouterExplorer] Mapped {/, GET} route +10ms
app | [Nest] 1 - 09/17/2019, 2:00:46 PM [RoutesResolver] ShortedUrlController {/}: +1ms
app | [Nest] 1 - 09/17/2019, 2:00:46 PM [RouterExplorer] Mapped {/generate, POST} route +3ms
app | [Nest] 1 - 09/17/2019, 2:00:46 PM [RouterExplorer] Mapped {/:hash, GET} route +3ms
app | [Nest] 1 - 09/17/2019, 2:00:46 PM [NestApplication] Nest application successfully started +6ms
```
Before start go to http://localhost:3000 for use app.