GithubHelp home page GithubHelp logo

slidely_ai_backend's Introduction

Slidely Ai Backend

Description

This project implements a backend server using Express and TypeScript to manage form submissions. It provides endpoints for submitting, reading, updating, deleting submissions, and searching by email. Submissions are stored in a JSON file (db.json) on the server.

Api EndPoints

  • GET /ping: Health check endpoint to confirm the server is running, returning { success: true }.

  • POST /submit: Accepts new form submissions with fields name, email, phone, github_link, and stopwatch_time. These submissions are stored in the db.json file.

  • GET /read?index=: Retrieves a specific submission based on its 0-indexed position.

  • DELETE /delete?index=: Deletes a submission by its index.

  • PUT /update/:index: Updates a submission at a specified index with
    new values for name, email, phone, github_link, and stopwatch_time.

  • GET /search?email=: Searches for a submission by email and
    returns the submission object along with its index.

Installation Process

1. Open VsCode Terminal or Normal Terminal

Terminal

2. Clone the project

  git clone https://github.com/akkulsecond213/Slidely_ai_backend.git

clone

3. Go to the project directory

  cd Slidely_ai_backend

project directory

4. Install dependencies

  npm install

Dependencies

5 . Start the server

  npm run start

Server start

6. We can also use nodemon as it helps in automatically restarting the node application when file changes in the directory are detected.

  npm run dev

enter image description here

slidely_ai_backend's People

Contributors

akkulsecond213 avatar akkul143 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.