mirror of https://github.com/nocodb/nocodb
o1lab
3 years ago
committed by
GitHub
6 changed files with 264 additions and 93 deletions
@ -0,0 +1,57 @@
|
||||
--- |
||||
title: 'FAQs' |
||||
description: 'FAQs' |
||||
position: 2 |
||||
category: 'Getting started' |
||||
fullscreen: true |
||||
menuTitle: 'FAQs' |
||||
--- |
||||
|
||||
## Which are the supported databases ? |
||||
|
||||
Currently we supports most ost of the SQL databases Postgres, MySQL, MariaDB, SQL Server and SQLite3. |
||||
|
||||
## Is it completely free ? |
||||
|
||||
Currently you can use the product without any cost |
||||
|
||||
## Which platforms it supports ? |
||||
|
||||
You can run it any machine with help of Node or Docker |
||||
|
||||
## Are the APIs secure - does it have Auth and ACL ? |
||||
|
||||
NocoDB is fully secure with built in session based authentication and authorisation. We currently support Google and Facebook Authorisation. |
||||
Authentication also covers things related to email verification, forgot password & reset password. Support for 3rd party Auth libraries Auth0, Firebase, Amazon Cognito will be there in future. |
||||
|
||||
## Is it possible to ignore certain tables from the view ? |
||||
|
||||
Yes, you can disable it from the UI |
||||
|
||||
## Is Access Control List (ACL) or Role Based Access Control (RBAC) ? |
||||
|
||||
NocoDB not only auto generates access control list for all the tables but also provides GUI to manage these permissions for each category of users and models. Again, these ACL are done in really modular way such that each ACL file is associated with its corresponding router and middleware file. |
||||
|
||||
ACL/RBAC enables developer to manage fine grained access to underlying models to various category of users. |
||||
|
||||
## Does APIs have pagination ? |
||||
|
||||
Yes all APIs have built in pagination. |
||||
|
||||
## Is there support for Swagger API specification for REST APIs ? |
||||
|
||||
NocoDB automatically generates swagger documentation for all the REST APIs so that you have to never write one from scartch! Generated documentation is done in a really modular way so that each router file is associated with a swagger documentation. This makes it really easy to follow and update. |
||||
|
||||
Swagger is the most adapted open source API documentation. Swagger's interactive live documentation not only helps developer to understand APIs but also to invoke the APIs. |
||||
|
||||
## Can the APIs resist SQL injection attacks ? |
||||
|
||||
Prepared SQL queries which are safe are executed when data is fetched from Database. |
||||
|
||||
## How to data validation for models ? |
||||
|
||||
You can write really complex and data validation function within the models generated for you. |
||||
|
||||
## I have more questions ? |
||||
|
||||
Please join our wonderful community at [discord](https://discord.gg/5RgZmkW). |
@ -0,0 +1,47 @@
|
||||
--- |
||||
title: 'APIs Access' |
||||
description: 'APIs Access' |
||||
position: 4 |
||||
category: 'Setup and Usages' |
||||
menuTitle: 'APIs Access' |
||||
--- |
||||
|
||||
## REST APIs |
||||
|
||||
- Go to NocoDB Project, click the rightmost button and click ``Copy auth token``. |
||||
|
||||
![image](https://user-images.githubusercontent.com/35857179/126187328-745943f2-c780-4109-b967-1b3f1c4a1dcd.png) |
||||
|
||||
- Click the same button and click ``Swagger APIs Doc``. |
||||
|
||||
![image](https://user-images.githubusercontent.com/35857179/126187534-32c41de9-f17d-4f95-9acc-88aaed044b36.png) |
||||
|
||||
- Select ``Schemes`` and Click ``Authorize``. |
||||
|
||||
![image](https://user-images.githubusercontent.com/35857179/126188482-f3aacabf-dbc5-41a8-a190-9f225347ebd1.png) |
||||
|
||||
- Paste the token you just copy in step 1 and click Authorize |
||||
|
||||
![image](https://user-images.githubusercontent.com/35857179/126188510-b3790348-6809-4182-911a-a4031ace2fd2.png) |
||||
|
||||
## GraphQL APIs |
||||
|
||||
- Go to NocoDB Project, click the rightmost button and click ``Copy auth token``. |
||||
|
||||
![image](https://user-images.githubusercontent.com/35857179/126187624-03ee550d-71eb-499f-ad8b-54e32a94f729.png) |
||||
|
||||
- Click the same button and click ``GraphQL APIs`. |
||||
|
||||
![image](https://user-images.githubusercontent.com/35857179/126187581-22503b8d-f6dd-4a4e-8b12-a475c27354a2.png) |
||||
|
||||
- Click ``REQUEST HEADERS``. |
||||
|
||||
![image](https://user-images.githubusercontent.com/35857179/126188122-1aa7b153-f05a-46fd-953b-751376d708bf.png) |
||||
|
||||
- Paste the token you just copy in step 1. |
||||
|
||||
```json |
||||
{ |
||||
"xc-auth": "YOUR_AUTH_TOKEN" |
||||
} |
||||
``` |
@ -0,0 +1,20 @@
|
||||
--- |
||||
title: 'Environment Variables' |
||||
description: 'Environment Variables' |
||||
position: 3 |
||||
category: 'Setup and Usages' |
||||
fullscreen: true |
||||
menuTitle: 'Environment Variables' |
||||
--- |
||||
|
||||
| Variable | Mandatory | Comments | If absent | |
||||
|-------------------------|-----------|----------------------------------------------------------------------------------|--------------------------------------------| |
||||
| NC_DB | Yes | See our database URLs | A local SQLite will be created in root folder | |
||||
| DATABASE_URL | No | JDBC URL Format. Can be used instead of NC_DB. Used in 1-Click Heroku deployment| | |
||||
| DATABASE_URL_FILE | No | path to file containing JDBC URL Format. Can be used instead of NC_DB. Used in 1-Click Heroku deployment| | |
||||
| NC_PUBLIC_URL | Yes | Used for sending Email invitations | Best guess from http request params | |
||||
| NC_AUTH_JWT_SECRET | Yes | JWT secret used for auth and storing other secrets | A Random secret will be generated | |
||||
| NC_SENTRY_DSN | No | For Sentry monitoring | | |
||||
| NC_CONNECT_TO_EXTERNAL_DB_DISABLED | No | Disable Project creation with external database | | |
||||
| NC_DISABLE_TELE | No | Disable telemetry | | |
||||
| NC_BACKEND_URL | No | Custom Backend URL | ``http://localhost:8080`` will be used | |
Loading…
Reference in new issue