Commit eb7b8980 authored by Kulpybaev Ilyas's avatar Kulpybaev Ilyas

Merge branch 'dev' into 'master'

backend added

See merge request !3
parents 4c2f54ad 2d8f9502
import express from 'express';
import cors from 'cors';
const PORT = 8000;
const app = express();
app.use(cors());
app.listen(PORT);
console.log('Server running at port ', PORT);
\ No newline at end of file
This diff is collapsed.
{
"name": "backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"cors": "^2.8.5",
"express": "^4.19.2"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^20.12.3",
"ts-node": "^10.9.2"
}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment