Coder Social home page Coder Social logo

karl-horning / snippets Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 130 KB

This application allows users to manage code snippets efficiently. Users can create, edit, delete, and view code snippets through a user-friendly interface.

License: MIT License

JavaScript 1.77% CSS 0.61% TypeScript 97.62%
nextjs prisma reactjs sqlite tailwindcss full-stack cache monaco-editor sql typescript

snippets's Introduction

Snippet Management Application

This application allows users to manage code snippets efficiently. Users can create, edit, delete, and view code snippets through a user-friendly interface.

Table of Contents

Features

  • Create: Users can create new code snippets by providing a title and the code itself.
  • Edit: Existing code snippets can be edited to update the title or modify the code.
  • Delete: Users can remove unwanted code snippets from the application.
  • View: All code snippets are listed on the main page, and users can view each snippet individually.

Technologies Used

  • Next.js: The frontend is built using Next.js, providing server-side rendering and efficient routing. This project is taken from the course "Next JS: The Complete Developer's Guide" by Stephen Grider.
  • Tailwind CSS: Styling is done using Tailwind CSS, allowing for rapid UI development.
  • Prisma: Prisma is used as the ORM for interacting with the database, making it easy to manage database operations.
  • Monaco Editor: The code editor is implemented using the Monaco Editor, providing syntax highlighting and code editing capabilities.
  • SQLite: SQLite is used as the database to store code snippets.

Getting Started

  1. Clone the repository: git clone https://github.com/Karl-Horning/snippets
  2. Install dependencies: npm install
  3. Run the development server: npm run dev
  4. Open http://localhost:3000 to view the application in your browser.

Usage

  1. Create a Snippet: Click on the "New" button to create a new code snippet. Provide a title and the code, then click "Create" to save it.
  2. Edit a Snippet: Click on the snippet title to view the details. From there, click "Edit" to modify the title or code. Click "Save" to apply the changes.
  3. Delete a Snippet: On the snippet details page, click "Delete" to remove the snippet from the application.
  4. View Snippets: All snippets are listed on the main page. Click on a snippet title to view its details and code.

Contributors

License

This project is licensed under the MIT License - see the LICENSE file for details.

snippets's People

Contributors

karl-horning avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.