Coder Social home page Coder Social logo

vue-starter-kit's Introduction

vue-starter-application

This SurrealDB Starter Kit for Vue.js is a simple task manager application that allows you to manage tasks using SurrealDB as the database backend. The starter kit should help you get started with building applications using Vue.js and SurrealDB.

Features

  • Create, read, and delete tasks in a SurrealDB table.
  • Error handling for database interactions.
  • Parameterized queries to prevent SQL injection.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js: Make sure you have Node.js installed on your system. You can download it from here.

Developing using the starter kit

  1. Clone this repository

    git clone https://github.com/inkollusireeshaadharani/vue-starter-kit.git
  2. Navigate to the project directory

    cd vue-starter-kit
  3. Install Dependencies

    npm install
  4. Configure SurrealDB connection: Open the src/db/surreal.js file and configure the connection settings for SurrealDB. You may need to update the database URL and credentials.

  5. Get SurrealDB up and running using Docker

    docker compose up -d

    Note: You can also install SurrealDB on your machine. For more information, check out SurrealDB installation.

  6. Run the project in development mode

    npm run dev
  7. Access the application in your web browser at http://localhost:5173.

  8. Do not forget to shut down SurrealDB when you are done.

    docker compose down

Usage

  • Create a task: Enter a task name along with its status and click the Add Task button.
  • Delete a task: Click the Delete button next to the task you want to delete.
  • View the list of tasks: All the tasks are available under the List of Tasks section.

Screenshot

Screenshot

Contributing to this repository

If you have any questions or suggestions, please feel free to open an issue or a pull request.
Learn more about SurrealDB here: https://surrealdb.com

vue-starter-kit's People

Contributors

inkollusireeshaadharani avatar

Stargazers

千军万马 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.