Skip to content

sensebox/sowa-backend

Repository files navigation

Sensor Wiki API

Install

Install requirements

yarn install

Copy env file

cp .env.example .env

Start PostgreSQL DB

docker-compose up 

If you want to load the Dump file:

Connect to PostgreSQL docker container

docker exec -it ID bash

Load Dump File

psql -U DB_USERNAME -d DB_NAME < dataDump.sql

If you dont want to load the dump file:

Migrate DB

npx prisma migrate dev

Start node application

npx nodemon

About

Node App for SOWA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages