mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
WIP Items module.
This commit is contained in:
16
server/src/app.js
Normal file
16
server/src/app.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import express from 'express';
|
||||
import boom from 'express-boom';
|
||||
import '../config';
|
||||
import routes from '@/http';
|
||||
|
||||
const app = express();
|
||||
|
||||
// Express configuration
|
||||
app.set('port', process.env.PORT || 3000);
|
||||
|
||||
app.use(boom());
|
||||
app.use(express.json());
|
||||
|
||||
routes(app);
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user