update
This commit is contained in:
parent
4e7c327966
commit
eb9d276ac4
3 changed files with 3 additions and 10 deletions
|
@ -4,7 +4,8 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "postcss public/nocompiled.css -o public/main.css",
|
"build": "postcss public/nocompiled.css -o public/main.css",
|
||||||
|
"dev": "nodemon src/main.js",
|
||||||
"start": "node src/main.js"
|
"start": "node src/main.js"
|
||||||
},
|
},
|
||||||
"author": "unurled",
|
"author": "unurled",
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
require('dotenv').config()
|
|
||||||
const express = require('express')
|
|
||||||
|
|
||||||
const app = express()
|
|
||||||
|
|
||||||
const PORT = process.env.PORT
|
|
||||||
// Listen for incoming requests
|
|
||||||
app.listen(PORT, () => console.log(`server started, listening PORT ${PORT}`))
|
|
|
@ -1,5 +1,5 @@
|
||||||
require('dotenv').config()
|
|
||||||
// packages needed in this file
|
// packages needed in this file
|
||||||
|
require('dotenv').config()
|
||||||
const express = require('express')
|
const express = require('express')
|
||||||
const uri = require('node-uri')
|
const uri = require('node-uri')
|
||||||
const shortid = require('shortid')
|
const shortid = require('shortid')
|
||||||
|
|
Loading…
Reference in a new issue