An open API service indexing awesome lists of open source software.

https://github.com/prantoshb/snippit

Snipit is a platform for developers to share code snippets, find inspiration, and learn new techniques from fellow coders.
https://github.com/prantoshb/snippit

Last synced: about 2 months ago
JSON representation

Snipit is a platform for developers to share code snippets, find inspiration, and learn new techniques from fellow coders.

Awesome Lists containing this project

README

          

[![Contributors](https://img.shields.io/github/contributors/PrantoshB/Snippit)](https://github.com/PrantoshB/Snippit/graphs/contributors)
[![LastUpdate](https://img.shields.io/github/last-commit/PrantoshB/Snippit)](https://github.com/PrantoshB/Snippit/commits/dev)
[![Stargazers](https://img.shields.io/github/stars/PrantoshB/Snippit)](https://github.com/PrantoshB/Snippit/stargazers)
[![Issues](https://img.shields.io/github/issues/PrantoshB/Snippit)](https://github.com/PrantoshB/Snippit/issues)
[![License](https://img.shields.io/github/license/PrantoshB/Snippit)](https://github.com/PrantoshB/Snippit/blob/main/LICENSE)
[![GitHub pull-requests merged](https://badgen.net/github/merged-prs/PrantoshB/Snippit)](https://github.com/PrantoshB/Snippit/pulls?q=is%3Amerged)
[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)

Table of Contents

- [๐Ÿ’ป About Snippit](#-about-snippit)
- [โœจ Features](#-features)
- [๐Ÿงฐ Tech Stack](#-tech-stack)
- [๐Ÿ“˜ Getting Started](#-getting-started)
- [๐Ÿ“‹ Prerequisites](#-prerequisites)
- [๐Ÿ“‚ Setup](#-setup)
- [๐Ÿ“ฅ Installation](#-installation)
- [๐Ÿ’พ Database](#-database)
- [๐Ÿ’ป Usage](#-usage)
- [๐Ÿงช Run tests](#-run-tests)
- [๐ŸŽฏ Future Features](#-future-features)
- [๐Ÿค Contributing](#-contributing)
- [๐Ÿ‘จโ€๐Ÿš€ Contributors](#-contributors)
- [๐Ÿ’– Show Your Support](#-show-your-support)
- [๐Ÿ“œ License](#-license)

# ๐Ÿ’ป About Snippit

`Community-driven code sharing platform`

**Snippit** is an open-source code sharing website that allows developers to share code snippets, receive feedback, and collaborate with others. It aims to provide a platform for the community to learn, inspire, and improve their coding skills.

screenshot

(back to top)

## โœจ Features

- **Code Snippet Sharing:** Easily share your code snippets with others.
- **Feedback and Comments:** Receive feedback and comments from the community on your code snippets.
- **Like and Save Snippets:** Like and save snippets to easily access them later.
- **Syntax Highlighting:** Code snippets are displayed with syntax highlighting for better readability.

(back to top)

## ๐Ÿงฐ Tech Stack

- **Ruby on Rails**
- **PostgreSQL**
- **ERB (Embedded Ruby)**
- **Devise Gem**

(back to top)

## ๐Ÿ“˜ Getting Started

To run this project locally, follow these steps.

### ๐Ÿ“‹ Prerequisites

Make sure you have the following installed on your machine:
- [Ruby 3.2.1 or higher](https://www.ruby-lang.org/en/)
- [Rails 7.0.4 or higher](https://rubyonrails.org/)
- [PostgreSQL 15.2 or higher](https://www.postgresql.org/)

### ๐Ÿ“‚ Setup

Clone this repository to your desired foler.

```sh
cd my-project
git clone git@github.com:PrantoshB/Snippit.git .
```

### ๐Ÿ“ฅ Installation

Intall this project with:

```sh
bundle install
```

### ๐Ÿ’พ Database

Create the databases and run migrations with:

```sh
rails db:create
rails db:migrate
```

### ๐Ÿ’ป Usage

To run the project, execute the following command:

```sh
rails server
```

### ๐Ÿงช Run tests

To run tests, run the following command:

```sh
rspec spec
```

(back to top)

## ๐ŸŽฏ Future Features

- [ ] **User Profiles:** Create a user profile to showcase your shared snippets and interact with other users.
- [ ] **Search Functionality:** Search for code snippets based on keywords, tags, or programming languages.
- [ ] **Tags and Categories:** Organize snippets with tags and categories for easy discoverability.

(back to top)

## ๐Ÿค Contributing

We welcome contributions from the community!

If you'd like to contribute to the project, please follow the guidelines outlined in [CONTRIBUTING.md](./CONTRIBUTING.md). We appreciate your help!

If you encounter any issues, have feature requests, or want to report a bug, please open an issue on the [Issues](https://github.com/PrantoshB/Snippit/issues) page. We'll do our best to address them.

(back to top)

## ๐Ÿ‘จโ€๐Ÿš€ Contributors

We are always looking for ways to improve this project. If you have any suggestions or ideas, we would love to hear from you.

| Name | Socials |
| --- | :---: |
| **Prantosh Biswas** | [![Github](https://img.shields.io/badge/GitHub-673AB7?logo=github&logoColor=white)](https://github.com/PrantoshB) [![Linkedin](https://img.shields.io/badge/LinkedIn-0077B5?logo=linkedin&logoColor=white)](https://linkedin.com/in/prantosh) [![Gmail](https://img.shields.io/badge/Gmail-D14836?logo=gmail&logoColor=white)](mailto:pbiswas1007@gmail.com) |
| **Hein Thant** | [![Github](https://img.shields.io/badge/GitHub-673AB7?logo=github&logoColor=white)](https://github.com/IndieCoderMM) [![Linkedin](https://img.shields.io/badge/LinkedIn-0077B5?logo=linkedin&logoColor=white)](https://linkedin.com/in/hthantoo) [![Gmail](https://img.shields.io/badge/Gmail-D14836?logo=gmail&logoColor=white)](mailto:hthant00chk@gmail.com) |

(back to top)

## ๐Ÿ’– Show Your Support

If you find this project useful or interesting, please consider giving it a star โญ๏ธ.
It helps us gain visibility and encourages us to continue improving and adding new features.

(back to top)

## ๐Ÿ“œ License

This project is licensed under the [MIT License](./LICENSE).

(back to top)