{"id":27332247,"url":"https://github.com/avishrantssh/nocode-backend","last_synced_at":"2026-04-07T20:32:00.431Z","repository":{"id":110395434,"uuid":"558815629","full_name":"AvishrantsSh/NoCode-Backend","owner":"AvishrantsSh","description":"A JSON Schema based API Builder","archived":false,"fork":false,"pushed_at":"2022-12-20T11:43:17.000Z","size":265,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T21:44:41.890Z","etag":null,"topics":["ajv","expressjs","json-schema","nocodeapi","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AvishrantsSh.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,"zenodo":null}},"created_at":"2022-10-28T11:09:01.000Z","updated_at":"2023-12-06T04:08:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3282935-a12b-4124-8bfe-dbb5ccf4f2ef","html_url":"https://github.com/AvishrantsSh/NoCode-Backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AvishrantsSh/NoCode-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvishrantsSh%2FNoCode-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvishrantsSh%2FNoCode-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvishrantsSh%2FNoCode-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvishrantsSh%2FNoCode-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AvishrantsSh","download_url":"https://codeload.github.com/AvishrantsSh/NoCode-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvishrantsSh%2FNoCode-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ajv","expressjs","json-schema","nocodeapi","nodejs"],"created_at":"2025-04-12T13:53:47.523Z","updated_at":"2026-04-07T20:32:00.417Z","avatar_url":"https://github.com/AvishrantsSh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Encore - A JSON Schema based API Builder\n\nA prototype implmenetation of JSON schema based No-Code REST API builder.\n\n![image](https://img.shields.io/github/license/AvishrantsSh/NoCode-Backend.svg?style=for-the-badge)\n\n# Getting started\n\nTo get the Node server running locally:\n\n- Clone this repo\n- `npm install` to install all required dependencies\n- (Optional) Install MongoDB Community Edition ([Instructions](https://docs.mongodb.com/manual/installation/#tutorials)) and run it by executing `mongod`\n- `npm run dev` to start the local server\n- Create a `.env` file in the root directory and add the following environment variables:\n\n  ```{.sourceCode .bash}\n  PORT=3000\n  MONGO_URI=\u003c--Mongo URL--\u003e\n  JWT_SECRET=\u003c--Your Secret--\u003e\n  ```\n\n# Code Overview\n\n## Dependencies\n\n- [ajv](https://github.com/ajv-validator/ajv) - For JSON Schema Validation\n- [expressjs](https://github.com/expressjs/express) - The server for handling and routing HTTP requests\n- [express-jwt](https://github.com/auth0/express-jwt) - Middleware for validating JWTs for authentication\n- [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) - For generating JWTs used by authentication\n- [mongoose](https://github.com/Automattic/mongoose) - For modeling and mapping MongoDB data to javascript\n- [passport](https://github.com/jaredhanson/passport) - For handling user authentication\n- [swagger-ui-express](https://github.com/scottie1984/swagger-ui-express) - For API Documentation\n\n## Application Structure\n\n- `server.js` - The entry point to our application. This file defines our express server and connects it to MongoDB using mongoose. It also requires the routes and models we'll be using in the application.\n- `controllers/` - This folder contains the controllers for our API. Controllers are further referenced in the routes.\n- `middlewares/` - This folder contains custom middlewares for authentication and field validations.\n- `models/` - This folder contains the schema definitions for our Mongoose models.\n- `routes/` - This folder contains the route definitions for our API.\n\n## Authentication\n\nRequests are authenticated using the `Authorization` header. We define two express middlewares in `middlewares/` that can be used to authenticate the requests. The `passport_middleware` middleware configures the `express-jwt` middleware using our application's secret and returns a 401 status code if the request cannot be authenticated. This method of authentication is useful for frontend integrations. The `api_middleware` middleware utilizes `access key`, unique to a project, to authorize requests.\n\n# Contributing\n\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favishrantssh%2Fnocode-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favishrantssh%2Fnocode-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favishrantssh%2Fnocode-backend/lists"}