A progressive Node.js framework for building efficient and scalable server-side applications.
+ + + +## Description + +[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository. + +## Installation + +```bash +$ npm install ``` -To actually compile the project, because it is written in TypeScript, you will need -to give this command on the project root directory: +## Running the app -``` -npm build -``` +```bash +# development +$ npm run start -Finally, to start the program, give this command on the project root directory: +# watch mode +$ npm run start:dev -``` -npm start +# production mode +$ npm run start:prod ``` -## Running the tests +## Test -To run the tests, simply run +```bash +# unit tests +$ npm run test -``` -npm test -``` - -### Break down into end to end tests +# e2e tests +$ npm run test:e2e -Explain what these tests test and why - -``` -Give an example +# test coverage +$ npm run test:cov ``` -### And coding style tests - -Explain what these tests test and why - -``` -Give an example -``` - -## Build with -* [Typescript](https://www.typescriptlang.org/) - This project is written entirely in Typescript -* [AJV](https://ajv.js.org/) - JSON schema validator used for core entities and requests/responses -* [json-schema-to-typescript](https://www.npmjs.com/package/json-schema-to-typescript) - To obtain Typescript types from json-schemas -* [googleapis](https://googleapis.github.io/) - Google RESTful APIs used to integrate the system with GSuite services - -## Versioning +## Support -We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags). +Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support). -## Authors +## Stay in touch -* **Riccardo Zaccone** - *Initial work* - [HKN Polito](https://hknpolito.org/) -* **Arianna Ravera** - *Initial work* - [HKN Polito](https://hknpolito.org/) +- Author - [Kamil MyĆliwiec](https://kamilmysliwiec.com) +- Website - [https://nestjs.com](https://nestjs.com/) +- Twitter - [@nestframework](https://twitter.com/nestframework) ## License -HKRecruitment is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the [COPYING](COPYING) file for details. +Nest is [MIT licensed](LICENSE). diff --git a/api/app.ts b/api/app.ts deleted file mode 100644 index dec553d..0000000 --- a/api/app.ts +++ /dev/null @@ -1,48 +0,0 @@ -import express from 'express'; -import * as swaggerUi from 'swagger-ui-express'; -import * as http from 'http'; -import cors from 'cors'; -if (process.env.NODE_ENV === 'local') { - require('dotenv').config(); -} -import {CommonRoutesConfig} from './src/common/common.routes.config'; -import {RegisterRoutes} from './build/routes'; - -import bodyParser from "body-parser"; - -import debug from 'debug'; -import {ErrorHandler} from "./src/ErrorHandler"; - - -const app: express.Application = express(); -const server: http.Server = http.createServer(app); -const port = process.env.PORT || 3000; -const routes: ArrayHours | -Monday | -Tuesday | -Wednesday | -Thursday | -Friday | -Saturday | -
---|---|---|---|---|---|---|
Hours | +Monday | +Tuesday | +Wednesday | +Thursday | +Friday | +Saturday | +
---|---|---|---|---|---|---|
+ |
+ ))}
+