Skip to content

Commit

Permalink
Create api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
millerjsdev committed Apr 8, 2024
1 parent fe2a857 commit 4a78c03
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/api/api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var app = require('./app');
var config = require('./config');
var http = require('http');
var server = http.createServer(app);
server.listen(config.port || 80, function() {
console.log('Express server started on *:' + config.port);
});

0 comments on commit 4a78c03

Please sign in to comment.