Creating a Project
Using the Dashboard to create a new project.
Create your project
Login to the Dashboard
You can login/signup using your Basic.id account - if you don’t have one yet, you will be prompted to create one.
Create your project
After creating your account, head to the Dashboard and create a new project using the button on the top right.
Note your project ID, database URL, and API key (keep this a secret!)
Your project ID is a public identifier for your project.
Keep your API Key a secret! Only use it on a secure server environment.
You can test everything is working by making a sample fetch request to your database:
Make sure to replace <YOUR_PROJECT_ID>
and <YOUR_API_KEY>
.
fetch("https://api.basic.tech/project/<YOUR_PROJECT_ID>", {
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
},
}).then(response => response.json())
.then(data => console.log(data));
Next steps
You can now start building your app! If you are using a React app, you can use the react library to get started.
Otherwise, you can use the API for any language.