Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/njkleiner/napoleon
A URL shortener for minimalists.
https://github.com/njkleiner/napoleon
docker microservice ruby sinatra url-shortener webapp
Last synced: 30 days ago
JSON representation
A URL shortener for minimalists.
- Host: GitHub
- URL: https://github.com/njkleiner/napoleon
- Owner: njkleiner
- License: mit
- Created: 2019-04-11T08:48:35.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-01T01:23:55.000Z (about 2 years ago)
- Last Synced: 2024-05-20T23:26:56.226Z (9 months ago)
- Topics: docker, microservice, ruby, sinatra, url-shortener, webapp
- Language: Ruby
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# napoleon
> A file-first, [no-database](https://indieweb.org/database-antipattern) URL shortener
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
### Installing
Install the dependencies.
`$ bundle install`
### Customizing Redirects
Each file in the [redirects](redirects) directory represents a redirect.
The file's name is the name of the redirect, the file's contents are the target URL.Add a new redirect from `/example` to `http://example.com`.
`$ touch redirects/example && echo "http://example.com" > redirects/example`
## Deployment
You can use the [Dockerfile](Dockerfile) to build an image for deployment.
## Contributing
This project uses the git branching model [described here](https://nvie.com/posts/a-successful-git-branching-model/).
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/njkleiner/napoleon/tags).
## Authors
* [Noah Kleiner](https://github.com/njkleiner)
See also the list of [contributors](https://github.com/njkleiner/napoleon/contributors) who participated in this project.
## License
This project is licensed under the MIT License. See the [LICENSE.md](LICENSE.md) file for details.
## Acknowledgments
* [README template](https://gist.github.com/PurpleBooth/109311bb0361f32d87a2) by [Billie Thompson](https://github.com/PurpleBooth).
* See the [Gemfile](Gemfile) file for a list of libraries used.