{"id":19953167,"url":"https://github.com/nazim1971/n-cash-server","last_synced_at":"2026-04-12T13:34:40.958Z","repository":{"id":248715697,"uuid":"829077297","full_name":"nazim1971/N-cash-server","owner":"nazim1971","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-07T18:44:11.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T06:27:44.475Z","etag":null,"topics":["bycrypt","cookie-parser","dotenv","expressjs","jwt","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"https://n-cash-server.vercel.app","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/nazim1971.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":"2024-07-15T17:55:18.000Z","updated_at":"2024-08-07T18:46:00.000Z","dependencies_parsed_at":"2024-08-07T22:01:20.949Z","dependency_job_id":null,"html_url":"https://github.com/nazim1971/N-cash-server","commit_stats":null,"previous_names":["nazim1971/n-cash-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazim1971%2FN-cash-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazim1971%2FN-cash-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazim1971%2FN-cash-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazim1971%2FN-cash-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nazim1971","download_url":"https://codeload.github.com/nazim1971/N-cash-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241381648,"owners_count":19953752,"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":["bycrypt","cookie-parser","dotenv","expressjs","jwt","mongodb","nodejs"],"created_at":"2024-11-13T01:15:37.124Z","updated_at":"2025-10-10T10:33:19.854Z","avatar_url":"https://github.com/nazim1971.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### README.md\n\n# N-Cash Server: Backend for Mobile Financial Service (MFS) Web App\n\nThis repository contains the backend code for the N-Cash Mobile Financial Service (MFS) web application. It is built using Node.js, Express.js, and MongoDB, following the MVC pattern. The backend handles user authentication, including password hashing with bcrypt, token verification with JWT, and cookie management with cookie-parser.\n\n### Features\n\n- User authentication with JWT.\n- Password hashing with bcrypt.\n- Follows the MVC pattern.\n- Uses cookie-parser for managing cookies.\n- MongoDB for the database.\n\n### Technologies Used\n\n- **Node.js**\n- **Express.js**\n- **bcrypt**\n- **JWT (JSON Web Tokens)**\n- **cookie-parser**\n- **MongoDB**\n\n### How to Run the Project\n\nFollow these steps to set up and run the project locally:\n\n1. **Clone the Repository:**\n\n```bash\ngit clone https://github.com/nazim1971/N-cash-server.git\ncd n-cash-server\n```\n\n2. **Install Dependencies:**\n\n```bash\nnpm install\n```\n\n3. **Set Up Environment Variables:**\n\nCreate a `.env` file in the root directory of your project and add the necessary environment variables:\n\n```\nACCESS_TOKEN_SECRET=your_access_token_secret\nDB_USER=your_mongodb_user\nDB_PASS=your_mongodb_password\n```\n\nReplace `your_access_token_secret`, `your_mongodb_user` and `your_mongodb_password` with the actual values from your MongoDB setup.\n\n4. **Run the Project:**\n\n```bash\nnpm run dev\n```\n\nThe server should now be running locally. You can make API requests to `http://localhost:3000`.\n\n### Contact\n\nFor any questions or support, please reach out to [nazimmuddin10@gmail.com](mailto:nazimmuddin10@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnazim1971%2Fn-cash-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnazim1971%2Fn-cash-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnazim1971%2Fn-cash-server/lists"}