{"id":21531774,"url":"https://github.com/weiwei2694/sharing-apps","last_synced_at":"2025-04-10T00:28:49.832Z","repository":{"id":198860521,"uuid":"699627130","full_name":"weiwei2694/sharing-apps","owner":"weiwei2694","description":"Create Sharing Apps | Using Node, Express, Passport, Prisma, etc...","archived":false,"fork":false,"pushed_at":"2023-10-06T08:16:58.000Z","size":867,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T02:12:18.172Z","etag":null,"topics":["express","jwt","mysql","node","passport","prisma"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weiwei2694.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-03T02:26:07.000Z","updated_at":"2024-05-07T03:11:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"90ef40c8-cede-465a-9cf4-4561244cc9c5","html_url":"https://github.com/weiwei2694/sharing-apps","commit_stats":null,"previous_names":["weiwei2694/sharing-apps"],"tags_count":0,"template":false,"template_full_name":"zexoverz/express-prisma-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weiwei2694%2Fsharing-apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weiwei2694%2Fsharing-apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weiwei2694%2Fsharing-apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weiwei2694%2Fsharing-apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weiwei2694","download_url":"https://codeload.github.com/weiwei2694/sharing-apps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248133774,"owners_count":21053322,"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":["express","jwt","mysql","node","passport","prisma"],"created_at":"2024-11-24T02:17:19.451Z","updated_at":"2025-04-10T00:28:49.805Z","avatar_url":"https://github.com/weiwei2694.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sharing Apps\n\n## What Is Sharing Apps?\nA website that you can visit, to share your experiences or look for things you need.\n\n## Preview\n![Sharing App Home Page.](/assets/previewhome.png)\n\n## Key Features\n- Filter posts\n- Roles system\n- Profile user\n- Create new post\n- Delete post\n- Category dashboard\n- Create new category\n- Delete category\n- Authentication using Passport\n- ORM using prisma\n- MySQL database using Railways\n- View engine using EJS\n\n## Cloning the repository\n```bash\ngit clone https://github.com/weiwei2694/sharing-apps.git\nnpm install\ncd sharing-apps\n```\n\n## Setup .env file\n```bash\n# Port number\nPORT=5173\n\n# URL of Database\nDB_URL=\"\"\n\n# SESSION SECRET\nSESSION_SECRET=secretkey\n\n# JWT\n# JWT secret key\nJWT_SECRET=thisisasamplesecret\n# Number of minutes after which an access token expires\nJWT_ACCESS_EXPIRATION_MINUTES=30\n# Number of days after which a refresh token expires\nJWT_REFRESH_EXPIRATION_DAYS=30\n```\n\n## Setup Prisma\n```bash\nnpx prisma generate\nnpx prisma db push\n```\n\n## Start the app\n```bash\nnpm run dev\n```\n\n## Available commands\nRunning commands with npm `npm run [command]`\n\n| Command        | Description                                                      |\n| -------------- | ---------------------------------------------------------------- |\n| `start`        | Run the application using PM2 and enable daemon mode.            |\n| `dev`          | Run the application in development mode using Nodemon.           |\n| `lint`         | Run ESLint to check the code linting in your project.            |\n| `lint:fix`     | Run ESLint to check and fix code linting in your project.        |\n| `prettier`     | Run Prettier to check code formatting in your project.           |\n| `prettier:fix` | Run Prettier to check and fix code formatting in your project.   |\n| `devcss`       | Run Tailwind CSS to generate optimized CSS files from input.css. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweiwei2694%2Fsharing-apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweiwei2694%2Fsharing-apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweiwei2694%2Fsharing-apps/lists"}