{"id":13937976,"url":"https://github.com/backendlab-app/microblog","last_synced_at":"2025-07-20T00:31:33.327Z","repository":{"id":129171070,"uuid":"155673185","full_name":"backendlab-app/microblog","owner":"backendlab-app","description":"A simple microblogging application built based on BackendLab","archived":false,"fork":false,"pushed_at":"2018-11-08T21:33:16.000Z","size":276,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-27T06:37:00.396Z","etag":null,"topics":["baas","nodejs","vuejs","vuetify"],"latest_commit_sha":null,"homepage":"https://microblog.samples.backendlab.app/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/backendlab-app.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-01T06:44:14.000Z","updated_at":"2020-02-14T06:58:45.000Z","dependencies_parsed_at":"2023-04-05T11:43:00.685Z","dependency_job_id":null,"html_url":"https://github.com/backendlab-app/microblog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/backendlab-app/microblog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendlab-app%2Fmicroblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendlab-app%2Fmicroblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendlab-app%2Fmicroblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendlab-app%2Fmicroblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backendlab-app","download_url":"https://codeload.github.com/backendlab-app/microblog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendlab-app%2Fmicroblog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048506,"owners_count":23868738,"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":["baas","nodejs","vuejs","vuetify"],"created_at":"2024-08-07T23:04:08.679Z","updated_at":"2025-07-20T00:31:28.306Z","avatar_url":"https://github.com/backendlab-app.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# BackendLab microblog\n\n\u003e A simple microblogging app based on BackendLab: https://www.backendlab.app/\n\n## Installation\n\n### Creating the backend\n\n1. First, go to https://www.backendlab.app and sign up for a free account and login\n\n2. From your BackendLab home page, click **Create new app** and call it *microblog*\n\n![create-app][create-app]\n\n3. Click on the Groups icon on the left hand side of the screen. Create a new group called *Microblog users*\n\n![create-group][create-group]\n\n3. Go into your *microblog* app, click the **Create model** button and create a new model called *post*. Using the **Add new field** button, add the following fields to your *posts* model:\n- Name: Content, field type: String\n- Name: Author, field type: ForeignKey, related model: User (sytem model), related name: posts\n- Name Date created, field type: DateTime, set on create: True\n\n![post-model][post-model]\n\n4. Go to the **Permissions** tab. Create a new permissions object for the *Microblog users* group, granting access to create, and read permissions\n\n![post-permissions][post-permissions]\n\n5. Create another new model called *comment*. Add the following fields to it:\n- Name: Content, field type: String\n- Name: post, field type: ForeignKey, related model: *post*, related name: comments\n- Name: Author, field type: ForeignKey, related model: User (sytem model), related name: comments\n- Name Date created, field type: DateTime, set on create: True\n\n![comment-model][comment-model]\n\n6. Go to the permissions tab and apply the same permissions as the *post* model\n\n7. Go to the users tab and create a few user objects.  \n\n8. Go to the **endpoints** tab and make a note of your customer ID (the hash immediately after the URL root, highlighted in red)\n\n![endpoints][endpoints]\n\n\n[create-app]: https://github.com/backendlab-app/microblog/blob/master/screenshots/Screen%20Shot%202018-11-02%20at%2020.40.52.png\n\n[create-group]: https://github.com/backendlab-app/microblog/blob/master/screenshots/create-group.png\n\n[post-model]: https://github.com/backendlab-app/microblog/blob/master/screenshots/post-model.png\n\n[post-permissions]: https://github.com/backendlab-app/microblog/blob/master/screenshots/post-permissions.png\n\n[comment-model]: https://github.com/backendlab-app/microblog/blob/master/screenshots/comment-model.png\n\n[endpoints]: https://github.com/backendlab-app/microblog/blob/master/screenshots/endpoints.png\n\n### Creating the front end\n\n9. Your backend is now ready. Clone the repository, and install the requirements:\n```\n$ git clone https://github.com/backendlab-app/microblog.git\n$ cd microblod\n$ npm install\n```\n\n10. Create a file called `.env` in the microblog folder, and populate your credentials as follows:\n```\nCUSTOMER_ID=[customer id from step 8]\nADMIN_USER=[the email address you signed up for BackendLab with]\nADMIN_PASS=[the password address you signed up for BackendLab with]\n```\n\n11. Start the app, then go to `http://localhost:3000`\n```\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendlab-app%2Fmicroblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackendlab-app%2Fmicroblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendlab-app%2Fmicroblog/lists"}