Skip to content

Backend for type signature search engine of Elm packages (including scrapers)

Notifications You must be signed in to change notification settings

cave-dev/fn-search-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fn-search-backend

getting started

setup the database

Install postgres

Create a user and database in postgres

Copy ./config.toml.example to ./config.toml and fill it out

run DB migrations

cd db
# all arguments after the -- are for our program, not cargo
# to see the help for our program, run:
cargo run -- -h
# we must specify a path to the configuration file
cargo run -- -c ../config.toml

running tests

each subproject has their own tests

# to run tests for the root project
cargo test

# to run tests for the DB
cd db
cargo test
cd ..

# to run tests for the web
cd web
cargo test
cd ..

# etc...

About

Backend for type signature search engine of Elm packages (including scrapers)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published