Skip to content

Server for lie detection survey that was made for research purposes for the MIS department at Wichita State University.

Notifications You must be signed in to change notification settings

mir-mirsodikov/lie-detection-survey-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lie-detection-survey-server

Overview

This is the server for the lie-detection-survey project. It is meant for the lie-detection-survey-client

Paired with the client, the server does the following:

  1. Logs admin into their account
  2. Allows admin to create, edit, and delete survey prompts
  3. Allows admin to download survey responses as a CSV file
  4. Creates a survey participant and saves their responses to each prompt

Getting started

Prerequisites

Installation

Checkout code locally

git clone https://github.com/mir-mirsodikov/lie-detection-survey-client

Install dependencies

npm install

Environmental variables

Variable Name Description
PORT Port to run the server on
DATABASE_URL URL to the Postgres database

Database configuration

This project utilizes prisma and therefore requires an initial setup.

Create database

npx prisma push

Generate Prisma client

npx prisma generate

Build and Run

NPM Commands

Command Description
npm run build Build the server for production
npm start Run the server in production mode

Technologies

About

Server for lie detection survey that was made for research purposes for the MIS department at Wichita State University.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages