Snip-Snip is a code manager designed to allow users to create & organize code snippets. This can benefit programmers who find themselves often reusing small chunks of code and can also serve as a study aid to current learners. With Snip-Snip, you can write & save code snippets in your language of choice with the built-in code editor. No worries about formatting or styling. You can also make folders to logically organize your saved code snippets. You can easily transport snippets between the folders you create or delete them if you no longer find them useful.
Currently, you may use Snip-Snip by copying the supplied docker-compose.yml file in this repo. The app relies on Redis for sessions and a PostgreSQL database that has already been setup for you by extending the base Docker image.
By default, the app assumes your connection string to be:
postgres://postgres:postgres@snip_db:5432/snip_db
If you would like to use an alternative username, password, or container name with your PostgreSQL service, please pass an environment variable named PG_URI to the snip_app service providing a new connection string in the format: postgres://username:password@container_name:5432/snip_db
Similarly, if you would like to use a different container name for your Redis service, pass in an environment variable to the snip_app service named: REDIS_CLIENT with the name of your Redis container.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Distributed under the MIT License. See LICENSE.txt
for more information.