Skip to content

osohq/oso-express-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a tutorial app designed to help you learn about integrating Oso into your system and writing authorization rules. The app uses the Express framework for Node, and is written in Typescript. It also includes a small sqlite database.

To spin up the app, ensure you have node and sqlite3 installed on your system, then follow these steps:

  1. Install project dependencies.
npm install
  1. Instantiate the database.
sqlite3 expenses.db ".read expenses.sql"
  1. Start the server.
npm run start

When the server starts, you should see output similar to this:

The application is listening on port 3000!

The project does not include Oso yet -- we leave that part up to you! Please follow the tutorial to get started.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published