Giter Site home page Giter Site logo

timbot-6278's Introduction

Welcome to timbot

timbot is a B2B SaaS application that was generated using ROQ.ai

Running locally

(0) Prerequisites

Make sure these tools are installed and up-to-date:

  • Node
  • NPM (or Yarn)
  • Docker or local database

(1) Clone the repository

(2) Setup environment variables

  • Login to ROQ Console (opens in a new tab) and go to "Project Details"
  • In the environment named "Local Environment", click the "Copy Env File" button and copy the entire output.
  • Important: If your application is not running on http://localhost:3000/, change the URL in the environment's setting page before copying the output.
  • Create a new file called .env in the root of your project and paste the content in.
cp .env.example .env

(3) Install database

There are two options for installing a database:

  1. You can install any database yourself that is supported by PrismaORM
  2. or you can install Postgres by using Docker. Make sure no other Postgres instance is running on the same machine.
docker-compose up

In any case, you need to add the configuration to your .env file:

DATABASE_URL

(4) Install dependencies and start the application

# With npm
npm install
npm run dev

or

# With Yarn
yarn
yarn dev

Now you can open your app at http://localhost:3000.

Further documentation

To learn more about ROQ UI components and APIs, take a look at ROQ Documentation

timbot-6278's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.