https://github.com/sonicoder86/url-shortener
https://github.com/sonicoder86/url-shortener
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sonicoder86/url-shortener
- Owner: sonicoder86
- Created: 2023-01-06T14:01:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-05T17:56:38.000Z (about 3 years ago)
- Last Synced: 2025-02-24T02:44:00.019Z (over 1 year ago)
- Language: TypeScript
- Size: 273 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Url Shortener
## Development
Start the server (Fastify) locally, it'll restart on file changes automatically.
The running application is available on [http://localhost:8080](http://localhost:8080)
```shell
cp .env.example .env
docker-compose up -d
npm run dev
```
Run all the tests (Jest).
```shell
npm test
```
Run specific test.
```shell
npm test -- create.route
```
Lint the files (ESLint).
```shell
npm run lint
```
Build project for production.
```shell
npm run build
```