We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up the backend in the backend/ folder using Express and TypeScript. Include basic folder structure and routing.
backend/
Tasks:
package.json
cd backend npm init -y
npm install express npm install typescript ts-node-dev @types/express
tsconfig.json
backend/src/server.ts
/api/status
{ status: "OK" }
ts-node-dev
backend/ ├── src/ │ ├── controllers/ # Express route handlers │ ├── models/ # Models (e.g., Prisma models) │ ├── routes/ # Route definitions (e.g., /api/auth, /api/tasks) │ └── server.ts # Express server entry point └── package.json # Backend dependencies
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
valon-loshaj
Successfully merging a pull request may close this issue.
Set up the backend in the
backend/
folder using Express and TypeScript. Include basic folder structure and routing.Tasks:
package.json
in thebackend/
folder:cd backend npm init -y
tsconfig.json
) and a basic Express server inbackend/src/server.ts
./api/status
that returns a simple JSON response{ status: "OK" }
.ts-node-dev
to thepackage.json
to enable live reload during development.The text was updated successfully, but these errors were encountered: