tvbarthel / ChaseWhisplyProject

an augmented reality attempt
537 stars 269 forks source link

[<PropertyGroup>const express = require('express'); const dotenv = require("dotenv"); var path = require("path"); dotenv.config({ path: ".env" }); const app = express(); app.use(express.json()); app.use(express.static(path.join(__dirname, 'public'))); const mysql = require('mysql2'); const connection = mysql.createConnection({ host: process.env.HOST, user: process.env.DB_USER, password: process.env.PASS, database: process.env.DB }); connection.connect((err) => { if (err) { console.log("Error connecting to the database", err); }else { console.log("Connected to the database!"); } }) app.get('/data', (req, res) => { const sql = 'SELECT Min, Max, HeadHousehold, Single, MarriedSeperately, MarriedJointly FROM Tax'; connection.query(sql, (err, data) => { if (err) return res.json(err); return res.json(data); }) }) app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'public', 'index.html')); }); #17

Open Zipitn opened 5 months ago

Zipitn commented 5 months ago

[

Exe
<Version>1.0.0.0</Version>
<Description>Example</Description>
<TargetFramework>netcoreapp1.1</TargetFramework>
<RuntimeIdentifiers>win81-x64</RuntimeIdentifiers>
<Satellite_Description>Example</Satellite_Description>

</PropertyGroup]()

Originally posted by @Zipitn in https://github.com/AlphaWallet/alpha-wallet-android/issues/3383

Originally posted by @Zipitn in https://github.com/Zipitn/fantastic-spoon/issues/1