Giter Club home page Giter Club logo

obsidian-8.0-demo's Introduction

Obsidian 8.0 Demo

Getting Started

Install the latest version of Deno here

Clone this repository:

git clone https://github.com/oslabs-beta/obsidian-8.0-demo.git

Setting up a ElephantSQL database

Go to ElephantSQL, create an account and a new database instance. Name your database 'starwars' and select the free tier ('Tiny Turtle').

Get the URL of the newly created database.

Make sure you have PostgresQL installed (run psql --version to check).

From within the root directory run:

psql -d <YOUR_ELEPHANTSQL_URL_HERE> -f ObsidianDemoDatabasePlain.sql

in the terminal. Be sure to replace <YOUR_ELEPHANTSQL_URL_HERE> with your newly created elephantSQL url. This command will create tables in your database and populate the tables with rows of data that will be used for the demo.

Setting up your .env file

Create a .env file in the root folder and input the following:

PORT= //insert port of your choice (ex. 3000)
DATABASE_URL= //insert your postgresql URL here
REDIS_HOST= //insert host address (ex. '127.0.0.1')

Running the demo

Run the script below to start the demo:

deno task start

Connecting with Obsidian-Developer-Tool

Check out the Obsidian Developer Tool here!

Using the Containerized Demo

In a rush? We have a containerized demo available as well that showcases client-side caching with W-Tiny-LFU. Just use the command docker-compose up in the root directory after you fork and clone this repo.

obsidian-8.0-demo's People

Contributors

mweisker27 avatar kevin-06-huang avatar exlxxn avatar davidtoyoukim avatar ranjrover avatar alexlopez7 avatar mweisker avatar

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.