Initial Vue & Backend Files

This commit is contained in:
Johnathon Slightham
2021-02-19 23:36:53 -05:00
commit eb946e93be
13 changed files with 12103 additions and 0 deletions

17
API/index.js Normal file
View File

@@ -0,0 +1,17 @@
const express = require('express');
const app = express();
const bodyParser = require('body-parser');
const PORT = 4000;
const cors = require('cors');
const axios = require('axios');
app.use(cors());
app.use(bodyParser.urlencoded({extended: true}));
app.use(bodyParser.json());
app.listen(PORT, function(){
console.log('Express server running on port:',PORT);
});

11
API/package.json Normal file
View File

@@ -0,0 +1,11 @@
{
"name": "api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}