Dprof-code / stockapp

An application that shows a list of Stocks. This application is implemented with NodeJS and MySQL.

Home Page:https://stockapp-server.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stock REST API

https://drive.google.com/drive/folders/1hrDXloSGnUKxj3RexCL5PTHlTSZ9MoXQ

Description

This project is a RESTful API for managing stock data. It allows users to perform CRUD operations on stock records using NodeJS and MySQL.

Team Members

  • Afolabi Raymond Olumide - IFT/19/0645
  • Awoyemi Happiness Olatomiwa - IFT/19/0656
  • Moses Obedience Ago-Oghene - IFT/19/0668
  • Olawale Adedamola Abraham - IFT/19/0681
  • Olajide-Ige Simisola Adebola - IFT/20/5056

Installation

To get started with this project, clone the repository and install the dependencies.

### Clone the repository
git clone https://github.com/Dprof-code/stockapp.git

### Navigate to the repository directory
cd stockapp

### Install dependencies
npm install

Usage

Here’s how you can start the server and make requests to the API.

Start the server

npm start

The server starts on http://localhost:3000
Use Postman or any other API client to interact with the API

API Endpoints

Table

Method Endpoint Description
GET /stocks Get all stock records
GET /stocks/:id Get a single stock record
POST /stocks Add a new stock record
PUT /stocks/:id Update a stock record
DELETE /stocks/:id Delete a stock record

License This project is licensed under the MIT License.

About

An application that shows a list of Stocks. This application is implemented with NodeJS and MySQL.

https://stockapp-server.vercel.app


Languages

Language:JavaScript 71.5%Language:HTML 18.5%Language:CSS 10.0%