mirror of https://github.com/TZGyn/shortener
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
682 B
Markdown
42 lines
682 B
Markdown
# Link Shortener
|
|
|
|
Link Shortener is a site to manage your short urls while providing analytics to the url traffics.
|
|
<a src="https://shortener.tzgyn.com">Demo Here</a>
|
|
|
|
### One Click Deploy on Railway
|
|
|
|
[](https://railway.app/template/VKReDm?referralCode=bSruGU)
|
|
|
|
## Development
|
|
|
|
### Frontend
|
|
|
|
```bash
|
|
npm install # tried using bun but it has lots of issues
|
|
npm run dev # will convert to bun once its stable with sveltekit
|
|
```
|
|
|
|
### Redirect
|
|
|
|
```bash
|
|
bun install
|
|
bun --hot run src/index.ts
|
|
```
|
|
|
|
## Deployment
|
|
|
|
### Frontend
|
|
|
|
```bash
|
|
npm install
|
|
npm run build
|
|
node build
|
|
```
|
|
|
|
### Redirect
|
|
|
|
```bash
|
|
bun install
|
|
bun run src/index.ts
|
|
```
|