Skip to content

storecloudproject/js-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple js server

install and run postgres

setup

install postresql and create a table in a database with a single integer in it. for example:

CREATE TABLE data(a int);
INSERT INTO data(a) VALUES (999)

edit your connection string (in app.js) to match your db name. ie. replace "jordan" with your db name.

run the server:

node app.js

usage

hit the endpoints from insomnia/postman/browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published