augementation des ranges
This commit is contained in:
parent
9653e55453
commit
7878062edc
9 changed files with 159 additions and 197 deletions
2
backend/dist/index.js
vendored
2
backend/dist/index.js
vendored
|
@ -7,12 +7,14 @@ const express_1 = __importDefault(require("express"));
|
|||
const dotenv_1 = __importDefault(require("dotenv"));
|
||||
const jobIngestionRoutes_1 = __importDefault(require("./routes/jobIngestionRoutes"));
|
||||
const jobSearchRoutes_1 = __importDefault(require("./routes/jobSearchRoutes"));
|
||||
const jobIngestionController_1 = require("./controllers/jobIngestionController");
|
||||
dotenv_1.default.config();
|
||||
const app = (0, express_1.default)();
|
||||
const PORT = process.env.PORT || 3000;
|
||||
app.use(express_1.default.json());
|
||||
app.use(jobIngestionRoutes_1.default);
|
||||
app.use(jobSearchRoutes_1.default);
|
||||
app.post('/api/ingest-jobs', jobIngestionController_1.ingestJobOffers);
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Server is running on port ${PORT}`);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue