{"id":14956800,"url":"https://github.com/kasvith/express-mongo-jwt-boilerplate","last_synced_at":"2025-02-27T01:31:26.270Z","repository":{"id":42999712,"uuid":"122247395","full_name":"kasvith/express-mongo-jwt-boilerplate","owner":"kasvith","description":"Express Mongo JsonWebToken boilerplate","archived":false,"fork":false,"pushed_at":"2022-12-30T20:31:22.000Z","size":337,"stargazers_count":102,"open_issues_count":30,"forks_count":42,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-14T11:17:51.570Z","etag":null,"topics":["api","auth","boilerplate","boilerplate-template","boilerplates","express","expressjs","hacktoberfest","jwt","jwt-authentication","jwt-token","mongo","mongodb","mongoose","mongoosejs","node","nodejs","passport"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/kasvith.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}},"created_at":"2018-02-20T19:46:24.000Z","updated_at":"2024-11-12T06:05:48.000Z","dependencies_parsed_at":"2023-01-31T15:55:14.666Z","dependency_job_id":null,"html_url":"https://github.com/kasvith/express-mongo-jwt-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasvith%2Fexpress-mongo-jwt-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasvith%2Fexpress-mongo-jwt-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasvith%2Fexpress-mongo-jwt-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasvith%2Fexpress-mongo-jwt-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kasvith","download_url":"https://codeload.github.com/kasvith/express-mongo-jwt-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240961343,"owners_count":19885308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api","auth","boilerplate","boilerplate-template","boilerplates","express","expressjs","hacktoberfest","jwt","jwt-authentication","jwt-token","mongo","mongodb","mongoose","mongoosejs","node","nodejs","passport"],"created_at":"2024-09-24T13:13:33.427Z","updated_at":"2025-02-27T01:31:25.942Z","avatar_url":"https://github.com/kasvith.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express Mongo JWT Boilerplate [![Build Status](https://travis-ci.org/kasvith/express-mongo-jwt-boilerplate.svg?branch=master)](https://travis-ci.org/kasvith/express-mongo-jwt-boilerplate)\n\n## Installation\n\n- Install NodeJS, MongoDB\n- Install `npm` or `yarn`\n- Rename `.env.example` to `.env`\n- Fulfill `.env` data\n- Start MongoDB\n- Run `yarn run dev` or `npm run dev`\n- Check `http://localhost:3000/api/status` to see it works\n\n## With Docker\n\n- Make sure you have installed `Docker` and `Docker Compose`\n- Just run `docker-compose up` to start the server\n\n## Configuration\n\n| Name                 | Description                                                                           | Example                              |\n|----------------------|---------------------------------------------------------------------------------------|--------------------------------------|\n| NODE_ENV             | Environment for node js                                                               | \"dev\", \"prod\", \"test\"                |\n| APP                  | Name of the application                                                               | My cool express app                  |\n| PORT                 | Port to run the application (if you run in **heroku** this will setup  automatically) | 3000                                 |\n| HOSTNAME             | Host name for running the application                                                 | http://localhost:3000                |\n| APP_SECRET           | Secret for running app. Use a strong hash in production and make sure to rotate it    | ddd36434-80fe-4f18-b3b6-e645697f7b84 |\n| MONGOURI             | MongoDB connection URI                                                                | mongodb://localhost:27017/yourapp    |\n| MONGOTESTURI         | MongoDB connection URI for testing                                                    | mongodb://localhost:27017/test-app   |\n| TRANSPORTER_HOST     | Mail server host                                                                      | smtp.mymailer.com                    |\n| TRANSPORTER_PORT     | Mail server port                                                                      | 2525                                 |\n| TRANSPORTER_USERNAME | Mail server username                                                                  | harrypotter                          |\n| TRANSPORTER_PASSWORD | Mail server password                                                                  | alohomora                            |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasvith%2Fexpress-mongo-jwt-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkasvith%2Fexpress-mongo-jwt-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasvith%2Fexpress-mongo-jwt-boilerplate/lists"}