Skip to content

TheBrainTech/thebrain-api-quickstart-node

Repository files navigation

TheBrain API Quickstart - Node.js

This is an example project that demonstrates how to make a call to TheBrain's API to create a thought. It uses the Next.js framework with React. Follow the instructions below to get set up.

Setup

  1. If you don’t have Node.js installed, install it from here.

  2. Clone this repository

  3. Navigate into the project directory

    $ cd thebrain-api-quickstart-node
  4. Install the requirements

    $ npm install
  5. Make a copy of the example environment variables file

    $ cp .env.example .env.local
  6. Add your API key to the newly created .env.local file

  7. Run the app

    $ npm run dev

You should now be able to access the app at http://localhost:3000.

About

Example Node project utilizing TheBrain API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published