mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
WIP Items module.
This commit is contained in:
15
server/src/server.js
Normal file
15
server/src/server.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import errorHandler from 'errorhandler';
|
||||
import app from '@/app';
|
||||
|
||||
app.use(errorHandler);
|
||||
|
||||
const server = app.listen(app.get('port'), () => {
|
||||
console.log(
|
||||
' App is running at http://localhost:%d in %s mode',
|
||||
app.get('port'),
|
||||
app.get('env'),
|
||||
);
|
||||
console.log(' Press CTRL-C to stop');
|
||||
});
|
||||
|
||||
export default server;
|
||||
Reference in New Issue
Block a user