Skip to content

flamingchickens1540/BatteryTesting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hatching Batteries (name)

This repository is a battery testing app for team 1540. Using it, our team can see records and read logs of all our batteries, and test their capacities. Additionally, some planned features include recording battery data during matches, estimating the energy in a battery based on their voltages, plus much more.

Code

This app does not use any frameworks to run. All written code is purely made up of JavaScript, Node.JS, HTML, CSS, mySQL. The app is split into two directories: frontend and backend. The frontend contains all webpages and their functionality, while backend focuses server-related tasks.

Run Code

To start up the backend, use the following command:

# go to the backend/batteryLog directory
cd backend/batteryLog

# install dependencies
npm i

# run code
node src/index.js

Setup database

-- Run commands to create the tables
source setupDatabase.sql

-- Run commands to create the procedures
source procedureSetup.sql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.1%
  • HTML 16.8%
  • CSS 4.1%