{"repo":"makeitrealcamp/nodejs-template","free":true,"listed":false,"github":"https://github.com/makeitrealcamp/nodejs-template","clone":"git clone https://github.com/makeitrealcamp/nodejs-template.git","description":"Template for Node.js projects","language":"TypeScript","stars":18,"topics":["mongodb","nodejs","scaffolded","template","typescript"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Node.js Template - Make It Real 💻 Codebase for the node.js projects. - Built with Node.js and Express - Typescript - Mongoose ODM - REST API & GraphQL Prerequisites - Git - Volta.sh - Node.js and npm Node = 18.12 LTS, npm = 8.19.x - Install with Volta.sh Express Router and Routes Route HTTP Verb Route Middleware Description -------------------- --------- ------------------ ------------------------------------ /api/healthcheck GET isAuthenticated Show a simple message /api/users GET isAuthenticated Get list of users /api/users POST Creates a new users /api/users/:id GET isAuthenticated Get a single users /api/users/:id DELETE isAuthenticated Deletes a user Usage The use of endpoints is very simple, previously you could see a table of endpoints that you can call, if you need to create a note or log in, here we have some examples. Authentication user /auth/local/login : Request Body: Response: Basic example Create User /api/users : Request Body: Response: Developing 1. Run npm install to install server dependencies. 2. Configure the env 3. Update .env with the required info 4. Run npm run dev to start the development server. Convention - Commit Message Convention - Git Flow - Git Commit Emoji License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/makeitrealcamp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/makeitrealcamp/nodejs-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}