npm i
- Duplicate
.env-example
and rename to.env
and update with your local postgresql DB credentials
brew install postgresql
// Install PostgreSQLbrew services start postgresql
// Start PostgreSQLnpm run db-up
// To create all tables
Side-Note: npm run db-down
// To destroy DB
npm run build
// Builds the projectnpm run start
// Starts the project- Visit
localhost:3000
on your browser
-
npm run build
// Builds client files into /dist/bundle.js. To watch for changes set the paramwatch
totrue
in webpack.config.js -
npm run dev-start
// Starts server, and restarts server if files were changed