Skip to content
No description, website, or topics provided.
JavaScript HTML CSS TSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
database
server
.gitignore
LICENSE
README.md

README.md

js-fullstack-sandbox

This project is a working example of a simple full stack JavaScript application using PostgreSQL, Express.js and React. You can create your own project from scratch by following the guide.

initial setup

# database
# configure a PostgreSQL instance, e.g. on elephantsql.com
# create server/.env from .env-sample and set DATABASE 

# hosting with zeit.co
npm install -g now
now login

# node.js dependencies
cd app
npm install
cd ../server
npm install

database

# run `recreate.sql` on the instance

run locally

Use two terminals:

1:

cd server
npm start

2:

cd app
npm start

deploy

cd server
npm run build
now
You can’t perform that action at this time.