DEV Community

Adam Chain
Adam Chain

Posted on

Complete, full-stack setup for any node/express/psql app, equipped with basic ui, routes & more.

View on GitHub

My 2nd public project! a full-stack js/node/express/postgres template (or foundation?). Syncs interface with your db, lets users sign up, sign in, and open a JWT token-protected page. Includes CRUD for user management.

Frontend:

  1. Sign Up: Form for name, email, and password (with validation).
  2. Sign In: Login with email and password, get a JWT.
  3. Dashboard: Protected, validates JWT.

Backend:

  1. Built with Express.js.
  2. Handles routes, auth, and APIs.
  3. Hashes passwords with bcrypt.
  4. JWT for sessions.

Database:

  1. PostgreSQL for user data.
  2. CRUD for create, read, update, delete users.
  3. Simple, functional starting point for auth-based apps.

My Schema:
Image description

Guide to setting up node/express-postgres enviornment: https://blog.logrocket.com/crud-rest-api-node-js-express-postgresql/

--
Disclaimer: I'm brand new to dev & I am building projects, 1 at a time, to help myself. I would appreciate any & all feedback.

πŸ‘‹ While you are here

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

πŸ‘₯ Ideal for solo developers, teams, and cross-company projects

Learn more

πŸ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay