{"id":22151076,"url":"https://github.com/francislagares/node-code-assessment","last_synced_at":"2026-04-09T02:01:27.026Z","repository":{"id":162554991,"uuid":"637076063","full_name":"francislagares/node-code-assessment","owner":"francislagares","description":"This is a Node.js REST API assessment to evaluate tech skills.","archived":false,"fork":false,"pushed_at":"2023-08-14T18:33:26.000Z","size":11628,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T13:21:26.326Z","etag":null,"topics":["express","mongodb","nodejs","oop","prisma","redis-cache","rest-api","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/francislagares.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-06T12:39:00.000Z","updated_at":"2023-05-11T17:50:28.000Z","dependencies_parsed_at":"2024-12-02T00:42:01.823Z","dependency_job_id":null,"html_url":"https://github.com/francislagares/node-code-assessment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"francislagares/node-typescript-starter","purl":"pkg:github/francislagares/node-code-assessment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francislagares%2Fnode-code-assessment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francislagares%2Fnode-code-assessment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francislagares%2Fnode-code-assessment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francislagares%2Fnode-code-assessment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francislagares","download_url":"https://codeload.github.com/francislagares/node-code-assessment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francislagares%2Fnode-code-assessment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","mongodb","nodejs","oop","prisma","redis-cache","rest-api","typescript"],"created_at":"2024-12-02T00:30:00.515Z","updated_at":"2026-04-09T02:01:27.007Z","avatar_url":"https://github.com/francislagares.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![node-typescript-express-starter](https://res.cloudinary.com/chatty-app/image/upload/v1683311364/node-typescript_qngr0k.webp)\n\n# Node TypeScript Express Boilerplate\n\n Starter Node.js project with TypeScript, MongoDB, Prisma ORM, ESlint, Prettier and Husky.\n\nFeatures\n--------\n- **OOP**\n- **Typescript**\n- **MongoDB**\n- **Prisma ORM**\n- **Redis in-memory cache**\n- **Swagger documentation**\n- **class-validator** for validating controller json input\n- **ES6 next features**\n\nPrerequisites\n-------------\n\n- [Node.js 20 or higher](http://nodejs.org)\n- [NPM 9.5.6 or higher](https://www.npmjs.com/)\n- [MongoDB](https://www.mongodb.org/downloads)\n- [Docker](https://docs.docker.com/desktop/install/linux-install/)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n\n\n\n# Docker\n\n- First create MongoDB database\n\n  ```bash\n  $ docker compose -f docker-compose-mongodb.yaml up -d                                                                                            \n  ```\n \n- Right after create a Redis instance\n\n  ```bash\n  $ docker compose -f docker-compose-redis.yaml up -d                                                                                \n  ```\n  \n## Run the Project\n----------------\n\n\n- Install the dependencies by running the following command.\n\n  ```bash\n  yarn install\n  ```\n\n- Start the development server:\n\n  ```bash\n  yarn start:dev\n  ```\n\n- Start the test suites:\n\n  ```bash\n  yarn test\n  ```\n\n## Run the Project with PM2\n----------------------------\n\nPM2 is a Node.js process manager that comes with a built-in load balancer. It helps facilitate production deployments and enables you to keep running applications alive indefinitely.\n\nThese are the commands to run the application with PM2:\n\n- Start development environment:\n\n  ```bash\n  yarn deploy:dev\n  ```\n\n- Start production environment:\n\n  ```bash\n  yarn deploy:prod\n  ```\nA logs folder will automatically be created at root level for all your running applications.\n\nYou can check the logs by with the following command:\n\n\n  ```bash\n  npx pm2 logs\n  ```\nFor a more detailed information check the docs --  [PM2](https://pm2.keymetrics.io/)\n## API Docs\n------------\n\nYou can check all API endpoints auto-generated by Swagger docs:\n  [http://localhost:4000/api-docs](http://localhost:4000/api-docs)\n\n# Author\n\n\nCreated by [@francislagares](https://www.linkedin.com/in/francislagares/) - feel free to contact me!\n* ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancislagares%2Fnode-code-assessment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancislagares%2Fnode-code-assessment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancislagares%2Fnode-code-assessment/lists"}